/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:41:35 2011
 */

#include "sipAPIplasma.h"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/scriptengine.sip"
#include <plasma/scripting/scriptengine.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_ScriptEngine : public Plasma::ScriptEngine
{
public:
    sipPlasma_ScriptEngine(QObject *);
    virtual ~sipPlasma_ScriptEngine();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    QString sipProtectVirt_mainScript(bool) const;
    const Plasma::Package * sipProtectVirt_package(bool) const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

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

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

const QMetaObject *sipPlasma_ScriptEngine::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ScriptEngine);
}

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

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

    return _id;
}

void *sipPlasma_ScriptEngine::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_ScriptEngine,_clname)) ? this : Plasma::ScriptEngine::qt_metacast(_clname);
}

bool sipPlasma_ScriptEngine::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::ScriptEngine::init();

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

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

QString sipPlasma_ScriptEngine::mainScript() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::ScriptEngine::mainScript();

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

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

const Plasma::Package * sipPlasma_ScriptEngine::package() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::ScriptEngine::package();

    extern const Plasma::Package * sipVH_plasma_3(sip_gilstate_t,PyObject *);

    return sipVH_plasma_3(sipGILState,sipMeth);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QString sipPlasma_ScriptEngine::sipProtectVirt_mainScript(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::ScriptEngine::mainScript() : mainScript());
}

const Plasma::Package * sipPlasma_ScriptEngine::sipProtectVirt_package(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::ScriptEngine::package() : package());
}


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

    {
        sipPlasma_ScriptEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScriptEngine, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 375 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_ScriptEngine *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_ScriptEngine *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_ScriptEngine *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_ScriptEngine *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_ScriptEngine *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_ScriptEngine *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::ScriptEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::ScriptEngine::init() : sipCpp->init());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_ScriptEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtectVirt_mainScript(sipSelfWasArg));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipPlasma_ScriptEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScriptEngine, &sipCpp))
        {
            const Plasma::Package *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_package(sipSelfWasArg);
            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_ScriptEngine, sipName_package, NULL);

    return NULL;
}


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

    if (targetType == sipType_Plasma_ScriptEngine)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ScriptEngine(sipSimpleWrapper *);}
static void dealloc_Plasma_ScriptEngine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ScriptEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_ScriptEngine[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_ScriptEngine_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_ScriptEngine_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_ScriptEngine_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_ScriptEngine_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_ScriptEngine_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainScript), meth_Plasma_ScriptEngine_mainScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_ScriptEngine_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_ScriptEngine_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_ScriptEngine_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_ScriptEngine_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ScriptEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ScriptEngine,
        {0}
    },
    {
        sipNameNr_ScriptEngine,
        {1, 255, 0},
        10, methods_Plasma_ScriptEngine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ScriptEngine,
    0,
    init_Plasma_ScriptEngine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ScriptEngine,
    0,
    0,
    0,
    release_Plasma_ScriptEngine,
    cast_Plasma_ScriptEngine,
    0,
    0,
    0
},
    &Plasma::ScriptEngine::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 792 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 796 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 799 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerSyntax, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addExampleQuery(*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_RunnerSyntax, sipName_addExampleQuery, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerSyntax *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->exampleQueries());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::RunnerSyntax *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->exampleQueriesWithTermDescription());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerSyntax, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDescription(*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_RunnerSyntax, sipName_setDescription, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerSyntax *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerSyntax, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSearchTermDescription(*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_RunnerSyntax, sipName_setSearchTermDescription, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerSyntax *sipCpp;

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

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

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

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Plasma::RunnerSyntax *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_RunnerSyntax(sipSimpleWrapper *);}
static void dealloc_Plasma_RunnerSyntax(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_RunnerSyntax(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_RunnerSyntax(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_RunnerSyntax(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::RunnerSyntax *sipCpp = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::RunnerSyntax(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const Plasma::RunnerSyntax * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Plasma_RunnerSyntax, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::RunnerSyntax(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_RunnerSyntax[] = {
    {SIP_MLNAME_CAST(sipName_addExampleQuery), meth_Plasma_RunnerSyntax_addExampleQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_RunnerSyntax_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exampleQueries), meth_Plasma_RunnerSyntax_exampleQueries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exampleQueriesWithTermDescription), meth_Plasma_RunnerSyntax_exampleQueriesWithTermDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_searchTermDescription), meth_Plasma_RunnerSyntax_searchTermDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_Plasma_RunnerSyntax_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSearchTermDescription), meth_Plasma_RunnerSyntax_setSearchTermDescription, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_RunnerSyntax = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__RunnerSyntax,
        {0}
    },
    {
        sipNameNr_RunnerSyntax,
        {1, 255, 0},
        7, methods_Plasma_RunnerSyntax,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Plasma_RunnerSyntax,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_RunnerSyntax,
    0,
    0,
    0,
    release_Plasma_RunnerSyntax,
    cast_Plasma_RunnerSyntax,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnermanager.sip"
#include <plasma/runnermanager.h>
#line 1133 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1140 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1143 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 1146 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1149 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 1152 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 1155 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 1158 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 1161 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1164 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 1167 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1170 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1173 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1176 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 1179 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1182 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1185 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1191 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1194 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1197 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1200 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1203 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1206 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1209 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1212 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1215 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_RunnerManager : public Plasma::RunnerManager
{
public:
    sipPlasma_RunnerManager(QObject *);
    sipPlasma_RunnerManager(KConfigGroup&,QObject *);
    virtual ~sipPlasma_RunnerManager();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

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

sipPlasma_RunnerManager::sipPlasma_RunnerManager(KConfigGroup& a0,QObject *a1): Plasma::RunnerManager(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_RunnerManager::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_RunnerManager);
}

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

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

    return _id;
}

void *sipPlasma_RunnerManager::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_RunnerManager,_clname)) ? this : Plasma::RunnerManager::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        sipPlasma_RunnerManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 1481 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerManager *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->searchContext();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::QueryMatch>(sipCpp->matches());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_Plasma_QueryMatch, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->run(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->run(*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_RunnerManager, sipName_run, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_Plasma_QueryMatch, &a0))
        {
            QList<QAction *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction *>(sipCpp->actionsForMatch(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::RunnerManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->launchQuery(*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;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->launchQuery(*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_RunnerManager, sipName_launchQuery, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::RunnerManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->execQuery(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->execQuery(*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_RunnerManager, sipName_execQuery, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Plasma::RunnerManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAllowedRunners(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->allowedRunners());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleModeRunner();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleModeRunnerId(*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_RunnerManager, sipName_setSingleModeRunnerId, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::RunnerManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleMode(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_RunnerManager, sipName_setSingleMode, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString *sipRes;

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->singleModeAdvertisedRunnerIds());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KService::Ptr * a0;
        int a0State = 0;
        Plasma::RunnerManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_KSharedPtr_0100KService,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadRunner(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KService::Ptr *>(a0),sipType_KSharedPtr_0100KService,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadRunner(*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_RunnerManager, sipName_loadRunner, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_Plasma_QueryMatch, &a0))
        {
            QMimeData *sipRes;

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

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QMimeData *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerManager_listRunnerInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerManager_listRunnerInfo(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::RunnerManager::listRunnerInfo(*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_RunnerManager, sipName_listRunnerInfo, NULL);

    return NULL;
}


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

    if (targetType == sipType_Plasma_RunnerManager)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_RunnerManager(sipSimpleWrapper *);}
static void dealloc_Plasma_RunnerManager(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_RunnerManager *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KConfigGroup * a0;
        QObject * a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_RunnerManager[] = {
    {SIP_MLNAME_CAST(sipName_actionsForMatch), meth_Plasma_RunnerManager_actionsForMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allowedRunners), meth_Plasma_RunnerManager_allowedRunners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_RunnerManager_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_RunnerManager_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_RunnerManager_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_RunnerManager_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_execQuery), meth_Plasma_RunnerManager_execQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_launchQuery), meth_Plasma_RunnerManager_launchQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listRunnerInfo), meth_Plasma_RunnerManager_listRunnerInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadRunner), meth_Plasma_RunnerManager_loadRunner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_matchSessionComplete), meth_Plasma_RunnerManager_matchSessionComplete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_matches), meth_Plasma_RunnerManager_matches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeDataForMatch), meth_Plasma_RunnerManager_mimeDataForMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_query), meth_Plasma_RunnerManager_query, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_RunnerManager_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reloadConfiguration), meth_Plasma_RunnerManager_reloadConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_Plasma_RunnerManager_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_Plasma_RunnerManager_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runner), meth_Plasma_RunnerManager_runner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runnerName), meth_Plasma_RunnerManager_runnerName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runners), meth_Plasma_RunnerManager_runners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_searchContext), meth_Plasma_RunnerManager_searchContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_RunnerManager_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowedRunners), meth_Plasma_RunnerManager_setAllowedRunners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleMode), meth_Plasma_RunnerManager_setSingleMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleModeRunnerId), meth_Plasma_RunnerManager_setSingleModeRunnerId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupMatchSession), meth_Plasma_RunnerManager_setupMatchSession, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleMode), meth_Plasma_RunnerManager_singleMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleModeAdvertisedRunnerIds), meth_Plasma_RunnerManager_singleModeAdvertisedRunnerIds, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleModeRunner), meth_Plasma_RunnerManager_singleModeRunner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleModeRunnerId), meth_Plasma_RunnerManager_singleModeRunnerId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_RunnerManager_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_RunnerManager[] = {
    {"queryFinished()", 0, 0},
    {"matchesChanged(QList<Plasma::QueryMatch>)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_RunnerManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__RunnerManager,
        {0}
    },
    {
        sipNameNr_RunnerManager,
        {1, 255, 0},
        32, methods_Plasma_RunnerManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_RunnerManager,
    0,
    init_Plasma_RunnerManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_RunnerManager,
    0,
    0,
    0,
    release_Plasma_RunnerManager,
    cast_Plasma_RunnerManager,
    0,
    0,
    0
},
    &Plasma::RunnerManager::staticMetaObject,
    0,
    pyqt4_signals_Plasma_RunnerManager
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2646 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2650 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


extern "C" {static int slot_Plasma_RunnerContext_Types___bool__(PyObject *);}
static int slot_Plasma_RunnerContext_Types___bool__(PyObject *sipSelf)
{
    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 2668 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_RunnerContext_Types___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            bool sipRes = 0;

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 2698 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(const_cast<Plasma::RunnerContext::Types *>(a0),sipType_Plasma_RunnerContext_Types,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_RunnerContext_Types,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_RunnerContext_Types___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            bool sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 2734 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(const_cast<Plasma::RunnerContext::Types *>(a0),sipType_Plasma_RunnerContext_Types,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_RunnerContext_Types,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_RunnerContext_Types___invert__(PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___invert__(PyObject *sipSelf)
{
    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::RunnerContext::Types *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::RunnerContext::Types(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_Plasma_RunnerContext_Types___and__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_RunnerContext_Types, &a0, &a0State, &a1))
        {
            Plasma::RunnerContext::Types *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::RunnerContext::Types((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_RunnerContext_Types,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_RunnerContext_Types___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::RunnerContext::Types * a0;
        int a0State = 0;
        Plasma::RunnerContext::Types * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State, sipType_Plasma_RunnerContext_Types, &a1, &a1State))
        {
            Plasma::RunnerContext::Types *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::RunnerContext::Types((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);
            sipReleaseType(a1,sipType_Plasma_RunnerContext_Types,a1State);

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

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_RunnerContext_Types, &a0, &a0State, &a1))
        {
            Plasma::RunnerContext::Types *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::RunnerContext::Types(*a0 ^ a1);
#line 2843 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_RunnerContext_Types,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_RunnerContext_Types___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::RunnerContext::Types * a0;
        int a0State = 0;
        Plasma::RunnerContext::Types * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State, sipType_Plasma_RunnerContext_Types, &a1, &a1State))
        {
            Plasma::RunnerContext::Types *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::RunnerContext::Types((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);
            sipReleaseType(a1,sipType_Plasma_RunnerContext_Types,a1State);

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

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_RunnerContext_Types, &a0, &a0State, &a1))
        {
            Plasma::RunnerContext::Types *sipRes = 0;

#line 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::RunnerContext::Types(*a0 | a1);
#line 2895 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_RunnerContext_Types,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_RunnerContext_Types___int__(PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___int__(PyObject *sipSelf)
{
    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    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_RunnerContext_Types___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_RunnerContext_Types)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::RunnerContext::Types::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,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_RunnerContext_Types___ior__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_RunnerContext_Types)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::RunnerContext::Types::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,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_RunnerContext_Types___iand__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_RunnerContext_Types___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_RunnerContext_Types)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::RunnerContext::Types *sipCpp = reinterpret_cast<Plasma::RunnerContext::Types *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_RunnerContext_Types));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::RunnerContext::Types::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Plasma::RunnerContext::Types *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_RunnerContext_Types(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_RunnerContext_Types(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::RunnerContext::Types *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::RunnerContext::Types *>(sipSrc);
}


extern "C" {static void *array_Plasma_RunnerContext_Types(SIP_SSIZE_T);}
static void *array_Plasma_RunnerContext_Types(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::RunnerContext::Types[sipNrElem];
}


extern "C" {static void *copy_Plasma_RunnerContext_Types(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_RunnerContext_Types(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::RunnerContext::Types(reinterpret_cast<const Plasma::RunnerContext::Types *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_RunnerContext_Types(sipSimpleWrapper *);}
static void dealloc_Plasma_RunnerContext_Types(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_RunnerContext_Types(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_RunnerContext_Types(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_RunnerContext_Types(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::RunnerContext::Types *sipCpp = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::RunnerContext::Types(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::RunnerContext::Types *>(a0),sipType_Plasma_RunnerContext_Types,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::RunnerContext::Types(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::RunnerContext::Types();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_RunnerContext_Types(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_RunnerContext_Types(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::RunnerContext::Types **sipCppPtr = reinterpret_cast<Plasma::RunnerContext::Types **>(sipCppPtrV);

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::RunnerContext::Types is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_RunnerContext_Type)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_RunnerContext_Types, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_RunnerContext_Type)))
{
    *sipCppPtr = new Plasma::RunnerContext::Types(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::RunnerContext::Types *>(sipConvertToType(sipPy, sipType_Plasma_RunnerContext_Types, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 3190 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_RunnerContext_Types[] = {
    {(void *)slot_Plasma_RunnerContext_Types___bool__, bool_slot},
    {(void *)slot_Plasma_RunnerContext_Types___ne__, ne_slot},
    {(void *)slot_Plasma_RunnerContext_Types___eq__, eq_slot},
    {(void *)slot_Plasma_RunnerContext_Types___invert__, invert_slot},
    {(void *)slot_Plasma_RunnerContext_Types___and__, and_slot},
    {(void *)slot_Plasma_RunnerContext_Types___xor__, xor_slot},
    {(void *)slot_Plasma_RunnerContext_Types___or__, or_slot},
    {(void *)slot_Plasma_RunnerContext_Types___int__, int_slot},
    {(void *)slot_Plasma_RunnerContext_Types___ixor__, ixor_slot},
    {(void *)slot_Plasma_RunnerContext_Types___ior__, ior_slot},
    {(void *)slot_Plasma_RunnerContext_Types___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_RunnerContext_Types = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__RunnerContext__Types,
        {0}
    },
    {
        sipNameNr_Types,
        {106, 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_RunnerContext_Types,
    init_Plasma_RunnerContext_Types,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_RunnerContext_Types,
    assign_Plasma_RunnerContext_Types,
    array_Plasma_RunnerContext_Types,
    copy_Plasma_RunnerContext_Types,
    release_Plasma_RunnerContext_Types,
    cast_Plasma_RunnerContext_Types,
    convertTo_Plasma_RunnerContext_Types,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 3263 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3267 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3270 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3273 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3276 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 3279 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 3282 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3285 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3288 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3291 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3294 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3297 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3300 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3303 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3306 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3309 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3312 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3315 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_RunnerContext : public Plasma::RunnerContext
{
public:
    sipPlasma_RunnerContext(QObject *);
    sipPlasma_RunnerContext(Plasma::RunnerContext&,QObject *);
    virtual ~sipPlasma_RunnerContext();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

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

sipPlasma_RunnerContext::sipPlasma_RunnerContext(Plasma::RunnerContext& a0,QObject *a1): Plasma::RunnerContext(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_RunnerContext::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_RunnerContext);
}

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

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

    return _id;
}

void *sipPlasma_RunnerContext::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_RunnerContext,_clname)) ? this : Plasma::RunnerContext::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        sipPlasma_RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 3581 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerContext *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setQuery(*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_RunnerContext, sipName_setQuery, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp))
        {
            Plasma::RunnerContext::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_RunnerContext_Type);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RunnerContext, &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_RunnerContext, sipName_isValid, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const Plasma::QueryMatch * a1;
        Plasma::RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp, sipType_QString,&a0, &a0State, sipType_Plasma_QueryMatch, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addMatch(*a0,*a1);
            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_RunnerContext, sipName_addMatch, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::QueryMatch>(sipCpp->matches());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        const KConfigGroup * a0;
        Plasma::RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerContext, &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_RunnerContext, sipName_restore, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            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_RunnerContext, sipName_save, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp, sipType_Plasma_QueryMatch, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->run(*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_RunnerContext, sipName_run, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QList<Plasma::QueryMatch> * a1;
        int a1State = 0;
        Plasma::RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100Plasma_QueryMatch,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addMatches(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList<Plasma::QueryMatch> *>(a1),sipType_QList_0100Plasma_QueryMatch,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeMatch(*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_RunnerContext, sipName_removeMatch, NULL);

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Plasma::RunnerContext *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeMatches(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::RunnerContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_RunnerContext, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleRunnerQueryMode(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_RunnerContext, sipName_setSingleRunnerQueryMode, NULL);

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleRunnerQueryMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_RunnerContext)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_RunnerContext(sipSimpleWrapper *);}
static void dealloc_Plasma_RunnerContext(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_RunnerContext *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Plasma::RunnerContext * a0;
        QObject * a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_RunnerContext[] = {
    {SIP_MLNAME_CAST(sipName_addMatch), meth_Plasma_RunnerContext_addMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMatches), meth_Plasma_RunnerContext_addMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_RunnerContext_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_RunnerContext_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_RunnerContext_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_RunnerContext_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_RunnerContext_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_Plasma_RunnerContext_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_matches), meth_Plasma_RunnerContext_matches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_Plasma_RunnerContext_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_query), meth_Plasma_RunnerContext_query, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_RunnerContext_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeMatch), meth_Plasma_RunnerContext_removeMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeMatches), meth_Plasma_RunnerContext_removeMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_Plasma_RunnerContext_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restore), meth_Plasma_RunnerContext_restore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_Plasma_RunnerContext_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Plasma_RunnerContext_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_RunnerContext_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setQuery), meth_Plasma_RunnerContext_setQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleRunnerQueryMode), meth_Plasma_RunnerContext_setSingleRunnerQueryMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleRunnerQueryMode), meth_Plasma_RunnerContext_singleRunnerQueryMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_RunnerContext_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_RunnerContext_type, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_RunnerContext[] = {
    {sipName_Directory, Plasma::RunnerContext::Directory, 107},
    {sipName_Executable, Plasma::RunnerContext::Executable, 107},
    {sipName_File, Plasma::RunnerContext::File, 107},
    {sipName_FileSystem, Plasma::RunnerContext::FileSystem, 107},
    {sipName_Help, Plasma::RunnerContext::Help, 107},
    {sipName_NetworkLocation, Plasma::RunnerContext::NetworkLocation, 107},
    {sipName_None, Plasma::RunnerContext::None, 107},
    {sipName_ShellCommand, Plasma::RunnerContext::ShellCommand, 107},
    {sipName_UnknownType, Plasma::RunnerContext::UnknownType, 107},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_RunnerContext[] = {
    {"matchesChanged()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_RunnerContext = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__RunnerContext,
        {0}
    },
    {
        sipNameNr_RunnerContext,
        {1, 255, 0},
        24, methods_Plasma_RunnerContext,
        9, enummembers_Plasma_RunnerContext,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_RunnerContext,
    0,
    init_Plasma_RunnerContext,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_RunnerContext,
    0,
    0,
    0,
    release_Plasma_RunnerContext,
    cast_Plasma_RunnerContext,
    0,
    0,
    0
},
    &Plasma::RunnerContext::staticMetaObject,
    0,
    pyqt4_signals_Plasma_RunnerContext
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 4442 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 4446 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4449 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 4452 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 4455 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4458 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4461 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 4464 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


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

    {
        Plasma::QueryMatch *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->runner();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_QueryMatch, &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_QueryMatch, sipName_isValid, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch::Type a0;
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_Plasma_QueryMatch_Type, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(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_QueryMatch, sipName_setType, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp))
        {
            Plasma::QueryMatch::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_QueryMatch_Type);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRelevance(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_QueryMatch, sipName_setRelevance, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->relevance();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_Plasma_RunnerContext, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->run(*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_QueryMatch, sipName_run, NULL);

    return NULL;
}


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

    {
        const QVariant * a0;
        int a0State = 0;
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->data());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setId(*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_QueryMatch, sipName_setId, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*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_QueryMatch, sipName_setText, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSubtext(*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_QueryMatch, sipName_setSubtext, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_QueryMatch, &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_QueryMatch, sipName_setIcon, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_QueryMatch, &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_QueryMatch, sipName_icon, NULL);

    return NULL;
}


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

    {
        bool a0;
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabled(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_QueryMatch, sipName_setEnabled, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectedAction();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QAction * a0;
        Plasma::QueryMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectedAction(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_QueryMatch, sipName_setSelectedAction, NULL);

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasConfigurationInterface();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_Plasma_QueryMatch, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->createConfigurationInterface(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_QueryMatch, sipName_createConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_Plasma_QueryMatch___ge__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_QueryMatch___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::QueryMatch *sipCpp = reinterpret_cast<Plasma::QueryMatch *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_QueryMatch));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::QueryMatch * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_Plasma_QueryMatch, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->Plasma::QueryMatch::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ge_slot,sipType_Plasma_QueryMatch,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_QueryMatch___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_QueryMatch___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::QueryMatch *sipCpp = reinterpret_cast<Plasma::QueryMatch *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_QueryMatch));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::QueryMatch * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_Plasma_QueryMatch, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->Plasma::QueryMatch::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_QueryMatch,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_QueryMatch___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_QueryMatch___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::QueryMatch *sipCpp = reinterpret_cast<Plasma::QueryMatch *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_QueryMatch));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::QueryMatch * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_Plasma_QueryMatch, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Plasma::QueryMatch::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_QueryMatch,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_QueryMatch___lt__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_QueryMatch___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::QueryMatch *sipCpp = reinterpret_cast<Plasma::QueryMatch *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_QueryMatch));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::QueryMatch * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_Plasma_QueryMatch, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Plasma::QueryMatch::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,lt_slot,sipType_Plasma_QueryMatch,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<Plasma::QueryMatch *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_QueryMatch(sipSimpleWrapper *);}
static void dealloc_Plasma_QueryMatch(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_QueryMatch(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_QueryMatch(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_QueryMatch(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::QueryMatch *sipCpp = 0;

    {
        Plasma::AbstractRunner * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_Plasma_AbstractRunner, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::QueryMatch(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const Plasma::QueryMatch * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Plasma_QueryMatch, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::QueryMatch(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_QueryMatch[] = {
    {(void *)slot_Plasma_QueryMatch___ge__, ge_slot},
    {(void *)slot_Plasma_QueryMatch___ne__, ne_slot},
    {(void *)slot_Plasma_QueryMatch___eq__, eq_slot},
    {(void *)slot_Plasma_QueryMatch___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_Plasma_QueryMatch[] = {
    {SIP_MLNAME_CAST(sipName_createConfigurationInterface), meth_Plasma_QueryMatch_createConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_Plasma_QueryMatch_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasConfigurationInterface), meth_Plasma_QueryMatch_hasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_QueryMatch_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_Plasma_QueryMatch_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_Plasma_QueryMatch_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_QueryMatch_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_relevance), meth_Plasma_QueryMatch_relevance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_Plasma_QueryMatch_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runner), meth_Plasma_QueryMatch_runner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedAction), meth_Plasma_QueryMatch_selectedAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_Plasma_QueryMatch_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_Plasma_QueryMatch_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_QueryMatch_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setId), meth_Plasma_QueryMatch_setId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRelevance), meth_Plasma_QueryMatch_setRelevance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectedAction), meth_Plasma_QueryMatch_setSelectedAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSubtext), meth_Plasma_QueryMatch_setSubtext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_QueryMatch_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_Plasma_QueryMatch_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subtext), meth_Plasma_QueryMatch_subtext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_QueryMatch_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_QueryMatch_type, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_QueryMatch[] = {
    {sipName_CompletionMatch, Plasma::QueryMatch::CompletionMatch, 104},
    {sipName_ExactMatch, Plasma::QueryMatch::ExactMatch, 104},
    {sipName_HelperMatch, Plasma::QueryMatch::HelperMatch, 104},
    {sipName_InformationalMatch, Plasma::QueryMatch::InformationalMatch, 104},
    {sipName_NoMatch, Plasma::QueryMatch::NoMatch, 104},
    {sipName_PossibleMatch, Plasma::QueryMatch::PossibleMatch, 104},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_QueryMatch = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__QueryMatch,
        {0}
    },
    {
        sipNameNr_QueryMatch,
        {1, 255, 0},
        23, methods_Plasma_QueryMatch,
        6, enummembers_Plasma_QueryMatch,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_QueryMatch,
    init_Plasma_QueryMatch,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_QueryMatch,
    0,
    0,
    0,
    release_Plasma_QueryMatch,
    cast_Plasma_QueryMatch,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/popupapplet.sip"
#include <plasma/popupapplet.h>
#line 5398 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5402 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5405 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5408 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5411 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5414 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5417 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5420 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 103 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5423 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 5426 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5429 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 193 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5432 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5435 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 53 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5438 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 5441 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5444 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5447 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 5450 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 5453 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5456 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 5459 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5462 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 5465 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 223 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5468 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5471 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 5474 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5477 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5480 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 5483 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 5486 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 5489 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5492 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5495 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 5498 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5501 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5504 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 1755 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5507 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 5510 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5513 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 5516 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5519 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5522 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 5525 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 164 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5528 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 5531 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 5534 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 5537 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 5540 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 5543 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5546 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 244 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5549 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5552 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5555 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 97 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5558 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5561 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5564 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5567 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5570 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5573 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 5576 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5579 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5582 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5585 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5588 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5591 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5594 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5597 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5600 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5603 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5606 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 5609 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5612 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 1030 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5615 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 5618 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 5621 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5624 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5627 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5630 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5633 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 110 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5636 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 343 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 5639 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 5642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5645 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5648 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5651 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 995 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5654 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 5657 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 5660 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5663 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_PopupApplet : public Plasma::PopupApplet
{
public:
    sipPlasma_PopupApplet(QObject *,const QVariantList&);
    virtual ~sipPlasma_PopupApplet();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_updateMicroFocus();
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtect_setFailedToLaunch(bool,const QString&);
    void sipProtectVirt_saveState(bool,KConfigGroup&) const;
    void sipProtect_setHasConfigurationInterface(bool);
    void sipProtect_setConfigurationRequired(bool,const QString&);
    void sipProtect_showMessage(const QIcon&,const QString&,const Plasma::MessageButtons);
    void sipProtectVirt_constraintsEvent(bool,Plasma::Constraints);
    void sipProtect_registerAsDragHandle(QGraphicsItem *);
    void sipProtect_unregisterAsDragHandle(QGraphicsItem *);
    bool sipProtect_isRegisteredAsDragHandle(QGraphicsItem *);
    Plasma::Extender * sipProtect_extender() const;
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    QPainterPath sipProtectVirt_shape(bool) const;
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_popupEvent(bool,bool);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QWidget * widget();
    QGraphicsWidget * graphicsWidget();
    void popupEvent(bool);
    void save(KConfigGroup&) const;
    void restore(KConfigGroup&);
    Plasma::FormFactor formFactor() const;
    Plasma::Location location() const;
    void paintInterface(QPainter *,const QStyleOptionGraphicsItem *,const QRect&);
    QList<QAction *> contextualActions();
    bool isPopupShowing() const;
    void addAssociatedWidget(QWidget *);
    void removeAssociatedWidget(QWidget *);
    void initExtenderItem(Plasma::ExtenderItem *);
    void createConfigurationInterface(KConfigDialog *);
    void destroy();
    void showConfigurationInterface();
    void init();
    void configChanged();
    void saveState(KConfigGroup&) const;
    void constraintsEvent(Plasma::Constraints);
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool event(QEvent *);
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void focusInEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent *);
    void hideEvent(QHideEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void showEvent(QShowEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    bool sceneEventFilter(QGraphicsItem *,QEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[79];
};

sipPlasma_PopupApplet::sipPlasma_PopupApplet(QObject *a0,const QVariantList& a1): Plasma::PopupApplet(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_PopupApplet::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_PopupApplet);
}

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

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

    return _id;
}

void *sipPlasma_PopupApplet::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_PopupApplet,_clname)) ? this : Plasma::PopupApplet::qt_metacast(_clname);
}

QWidget * sipPlasma_PopupApplet::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PopupApplet::widget();

    typedef QWidget * (*sipVH_QtGui_106)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_106)(sipModuleAPI_plasma_QtGui->em_virthandlers[106]))(sipGILState,sipMeth);
}

QGraphicsWidget * sipPlasma_PopupApplet::graphicsWidget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PopupApplet::graphicsWidget();

    extern QGraphicsWidget * sipVH_plasma_9(sip_gilstate_t,PyObject *);

    return sipVH_plasma_9(sipGILState,sipMeth);
}

void sipPlasma_PopupApplet::popupEvent(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::PopupApplet::popupEvent(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_plasma_QtNetwork->em_virthandlers[1]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

Plasma::FormFactor sipPlasma_PopupApplet::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Applet::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t,PyObject *);

    return sipVH_plasma_27(sipGILState,sipMeth);
}

Plasma::Location sipPlasma_PopupApplet::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Applet::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t,PyObject *);

    return sipVH_plasma_26(sipGILState,sipMeth);
}

void sipPlasma_PopupApplet::paintInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,const QRect&);

    sipVH_plasma_8(sipGILState,sipMeth,a0,a1,a2);
}

QList<QAction *> sipPlasma_PopupApplet::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Applet::contextualActions();

    typedef QList<QAction *> (*sipVH_QtGui_168)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState,sipMeth);
}

bool sipPlasma_PopupApplet::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PopupApplet::isPopupShowing();

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

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

void sipPlasma_PopupApplet::addAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::removeAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::initExtenderItem(Plasma::ExtenderItem *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::initExtenderItem(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sipVH_plasma_18(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::createConfigurationInterface(KConfigDialog *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::createConfigurationInterface(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t,PyObject *,KConfigDialog *);

    sipVH_plasma_25(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::destroy();
        return;
    }

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

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

void sipPlasma_PopupApplet::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::showConfigurationInterface();
        return;
    }

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

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

void sipPlasma_PopupApplet::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::init();
        return;
    }

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

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

void sipPlasma_PopupApplet::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::configChanged();
        return;
    }

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

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

void sipPlasma_PopupApplet::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::saveState(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Applet::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t,PyObject *,Plasma::Constraints);

    sipVH_plasma_7(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return QGraphicsItem::contains(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return QGraphicsItem::isObscuredBy(a0);

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

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

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

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

    if (!sipMeth)
        return QGraphicsItem::opaqueArea();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return QGraphicsItem::inputMethodQuery(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::PopupApplet::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_PopupApplet::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Applet::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_PopupApplet::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PopupApplet::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_PopupApplet::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_PopupApplet::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_PopupApplet::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_PopupApplet::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_PopupApplet::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject * sipPlasma_PopupApplet::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_PopupApplet::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_PopupApplet::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_PopupApplet::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

void sipPlasma_PopupApplet::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

bool sipPlasma_PopupApplet::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_PopupApplet::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_PopupApplet::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_PopupApplet::sipProtect_setFailedToLaunch(bool a0,const QString& a1)
{
    Plasma::Applet::setFailedToLaunch(a0,a1);
}

void sipPlasma_PopupApplet::sipProtectVirt_saveState(bool sipSelfWasArg,KConfigGroup& a0) const
{
    (sipSelfWasArg ? Plasma::Applet::saveState(a0) : saveState(a0));
}

void sipPlasma_PopupApplet::sipProtect_setHasConfigurationInterface(bool a0)
{
    Plasma::Applet::setHasConfigurationInterface(a0);
}

void sipPlasma_PopupApplet::sipProtect_setConfigurationRequired(bool a0,const QString& a1)
{
    Plasma::Applet::setConfigurationRequired(a0,a1);
}

void sipPlasma_PopupApplet::sipProtect_showMessage(const QIcon& a0,const QString& a1,const Plasma::MessageButtons a2)
{
    Plasma::Applet::showMessage(a0,a1,a2);
}

void sipPlasma_PopupApplet::sipProtectVirt_constraintsEvent(bool sipSelfWasArg,Plasma::Constraints a0)
{
    (sipSelfWasArg ? Plasma::Applet::constraintsEvent(a0) : constraintsEvent(a0));
}

void sipPlasma_PopupApplet::sipProtect_registerAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::registerAsDragHandle(a0);
}

void sipPlasma_PopupApplet::sipProtect_unregisterAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::unregisterAsDragHandle(a0);
}

bool sipPlasma_PopupApplet::sipProtect_isRegisteredAsDragHandle(QGraphicsItem *a0)
{
    return Plasma::Applet::isRegisteredAsDragHandle(a0);
}

Plasma::Extender * sipPlasma_PopupApplet::sipProtect_extender() const
{
    return Plasma::Applet::extender();
}

bool sipPlasma_PopupApplet::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::resizeEvent(a0) : resizeEvent(a0));
}

QPainterPath sipPlasma_PopupApplet::sipProtectVirt_shape(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::Applet::shape() : shape());
}

void sipPlasma_PopupApplet::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

QVariant sipPlasma_PopupApplet::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? Plasma::Applet::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_popupEvent(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::popupEvent(a0) : popupEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::PopupApplet::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::dropEvent(a0) : dropEvent(a0));
}

QSizeF sipPlasma_PopupApplet::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? Plasma::PopupApplet::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::timerEvent(a0) : timerEvent(a0));
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_setGraphicsItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_setOwnedByLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_inputMethodQuery, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_prepareGeometryChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 7872 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 7914 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_initStyleOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QStyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_initStyleOption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_updateGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_sceneEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_sceneEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_windowFrameEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_windowFrameEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_windowFrameSectionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QPointF, &a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_windowFrameSectionAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_moveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_polishEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_polishEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_hoverMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_grabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_grabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_ungrabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_ungrabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_grabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_grabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_ungrabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_ungrabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setFailedToLaunch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setFailedToLaunch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFailedToLaunch(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_PopupApplet, sipName_setFailedToLaunch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_saveState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_saveState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setHasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setHasConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHasConfigurationInterface(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_PopupApplet, sipName_setHasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigurationRequired(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_PopupApplet, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_showMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon * a0;
        const QString * a1;
        int a1State = 0;
        const Plasma::MessageButtons * a2;
        int a2State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_showMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_constraintsEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_constraintsEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_constraintsEvent(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_constraintsEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_registerAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_registerAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_registerAsDragHandle(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_PopupApplet, sipName_registerAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_unregisterAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_unregisterAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_unregisterAsDragHandle(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_PopupApplet, sipName_unregisterAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_isRegisteredAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_isRegisteredAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_isRegisteredAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_extender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_extender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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_PopupApplet, sipName_extender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_sceneEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_shape(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(sipCpp->sipProtectVirt_shape(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_itemChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_itemChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setPopupIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setPopupIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon * a0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPopupIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPopupIcon(*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_PopupApplet, sipName_setPopupIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_popupIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_popupIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->popupIcon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_popupIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_widget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            QWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::widget() : sipCpp->widget());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_widget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_graphicsWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_graphicsWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            QGraphicsWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::graphicsWidget() : 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_PopupApplet, sipName_graphicsWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_popupPlacement(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_popupPlacement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Plasma::PopupPlacement sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->popupPlacement();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_PopupPlacement);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_popupPlacement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setPassivePopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setPassivePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPassivePopup(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_PopupApplet, sipName_setPassivePopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_isPassivePopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_isPassivePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPassivePopup();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_isPassivePopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_isPopupShowing(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_isPopupShowing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::isPopupShowing() : sipCpp->isPopupShowing());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_isPopupShowing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_hidePopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_hidePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->hidePopup();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_hidePopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_showPopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_showPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0 = 0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|u", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showPopup(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_PopupApplet, sipName_showPopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_togglePopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_togglePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->togglePopup();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_togglePopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_popupEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_popupEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_popupEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_popupEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget * a0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QWidget, &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_PopupApplet, sipName_setWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setGraphicsWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setGraphicsWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget * a0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &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_PopupApplet, sipName_setGraphicsWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J9", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_setPopupAlignment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_setPopupAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::AlignmentFlag a0;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_Qt_AlignmentFlag, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPopupAlignment(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_PopupApplet, sipName_setPopupAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_popupAlignment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_popupAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            Qt::AlignmentFlag sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->popupAlignment();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_AlignmentFlag);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_popupAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_isIconified(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_isIconified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isIconified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_isIconified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PopupApplet_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PopupApplet_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PopupApplet, sipName_timerEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_PopupApplet(void *, const sipTypeDef *);}
static void *cast_Plasma_PopupApplet(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_PopupApplet)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Applet)->ctd_cast((Plasma::Applet *)(Plasma::PopupApplet *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_PopupApplet(void *, int);}
static void release_Plasma_PopupApplet(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_PopupApplet *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::PopupApplet *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PopupApplet(sipSimpleWrapper *);}
static void dealloc_Plasma_PopupApplet(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_PopupApplet *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PopupApplet(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_PopupApplet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_PopupApplet(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_PopupApplet *sipCpp = 0;

    {
        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_PopupApplet(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_PopupApplet[] = {{21, 255, 1}};


static PyMethodDef methods_Plasma_PopupApplet[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_PopupApplet_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_PopupApplet_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_PopupApplet_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_PopupApplet_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_PopupApplet_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_PopupApplet_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_PopupApplet_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_PopupApplet_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_PopupApplet_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_PopupApplet_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_PopupApplet_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_PopupApplet_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_PopupApplet_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_PopupApplet_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_PopupApplet_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_PopupApplet_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_PopupApplet_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_PopupApplet_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_PopupApplet_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_PopupApplet_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicsWidget), meth_Plasma_PopupApplet_graphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_PopupApplet_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hidePopup), meth_Plasma_PopupApplet_hidePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_PopupApplet_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_PopupApplet_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_PopupApplet_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_PopupApplet_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_PopupApplet_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_PopupApplet_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isIconified), meth_Plasma_PopupApplet_isIconified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPassivePopup), meth_Plasma_PopupApplet_isPassivePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPopupShowing), meth_Plasma_PopupApplet_isPopupShowing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_PopupApplet_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_PopupApplet_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_PopupApplet_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_PopupApplet_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_PopupApplet_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_PopupApplet_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_PopupApplet_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_PopupApplet_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_PopupApplet_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_PopupApplet_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupAlignment), meth_Plasma_PopupApplet_popupAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupEvent), meth_Plasma_PopupApplet_popupEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupIcon), meth_Plasma_PopupApplet_popupIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupPlacement), meth_Plasma_PopupApplet_popupPlacement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_PopupApplet_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_PopupApplet_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_PopupApplet_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_PopupApplet_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_PopupApplet_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_PopupApplet_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_PopupApplet_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_PopupApplet_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_PopupApplet_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_PopupApplet_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_PopupApplet_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsWidget), meth_Plasma_PopupApplet_setGraphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_PopupApplet_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_PopupApplet_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPassivePopup), meth_Plasma_PopupApplet_setPassivePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPopupAlignment), meth_Plasma_PopupApplet_setPopupAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPopupIcon), meth_Plasma_PopupApplet_setPopupIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_Plasma_PopupApplet_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_PopupApplet_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_PopupApplet_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_PopupApplet_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPopup), meth_Plasma_PopupApplet_showPopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_PopupApplet_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_PopupApplet_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_togglePopup), meth_Plasma_PopupApplet_togglePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_PopupApplet_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_PopupApplet_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_PopupApplet_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_PopupApplet_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Plasma_PopupApplet_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_PopupApplet_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_Plasma_PopupApplet_widget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_PopupApplet_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_PopupApplet_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PopupApplet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__PopupApplet,
        {0}
    },
    {
        sipNameNr_PopupApplet,
        {1, 255, 0},
        80, methods_Plasma_PopupApplet,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_PopupApplet,
    0,
    init_Plasma_PopupApplet,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PopupApplet,
    0,
    0,
    0,
    release_Plasma_PopupApplet,
    cast_Plasma_PopupApplet,
    0,
    0,
    0
},
    &Plasma::PopupApplet::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/pluginloader.sip"
#include <plasma/pluginloader.h>
#line 10037 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10041 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 10044 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10047 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 10050 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10053 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10056 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10059 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10062 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 10065 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 10068 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 10071 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_PluginLoader : public Plasma::PluginLoader
{
public:
    sipPlasma_PluginLoader();
    virtual ~sipPlasma_PluginLoader();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    Plasma::Applet * sipProtectVirt_internalLoadApplet(bool,const QString&,uint,const QVariantList&);
    Plasma::AbstractRunner * sipProtectVirt_internalLoadRunner(bool,const QString&);
    Plasma::DataEngine * sipProtectVirt_internalLoadDataEngine(bool,const QString&);
    Plasma::Service * sipProtectVirt_internalLoadService(bool,const QString&,const QVariantList&,QObject *);
    KPluginInfo::List sipProtectVirt_internalAppletInfo(bool,const QString&) const;
    KPluginInfo::List sipProtectVirt_internalDataEngineInfo(bool) const;
    KPluginInfo::List sipProtectVirt_internalRunnerInfo(bool) const;
    KPluginInfo::List sipProtectVirt_internalServiceInfo(bool) const;
    KPluginInfo::List sipProtect_standardInternalAppletInfo(const QString&) const;
    KPluginInfo::List sipProtect_standardInternalDataEngineInfo() const;
    KPluginInfo::List sipProtect_standardInternalRunnerInfo() const;
    KPluginInfo::List sipProtect_standardInternalServiceInfo() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    Plasma::Applet * internalLoadApplet(const QString&,uint,const QVariantList&);
    Plasma::AbstractRunner * internalLoadRunner(const QString&);
    Plasma::DataEngine * internalLoadDataEngine(const QString&);
    Plasma::Service * internalLoadService(const QString&,const QVariantList&,QObject *);
    KPluginInfo::List internalAppletInfo(const QString&) const;
    KPluginInfo::List internalDataEngineInfo() const;
    KPluginInfo::List internalRunnerInfo() const;
    KPluginInfo::List internalServiceInfo() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_PluginLoader(const sipPlasma_PluginLoader &);
    sipPlasma_PluginLoader &operator = (const sipPlasma_PluginLoader &);

    char sipPyMethods[8];
};

sipPlasma_PluginLoader::sipPlasma_PluginLoader(): Plasma::PluginLoader(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_PluginLoader::~sipPlasma_PluginLoader()
{
    sipCommonDtor(sipPySelf);
}

Plasma::Applet * sipPlasma_PluginLoader::internalLoadApplet(const QString& a0,uint a1,const QVariantList& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_internalLoadApplet);

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadApplet(a0,a1,a2);

    extern Plasma::Applet * sipVH_plasma_15(sip_gilstate_t,PyObject *,const QString&,uint,const QList<QVariant>&);

    return sipVH_plasma_15(sipGILState,sipMeth,a0,a1,a2);
}

Plasma::AbstractRunner * sipPlasma_PluginLoader::internalLoadRunner(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_internalLoadRunner);

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadRunner(a0);

    extern Plasma::AbstractRunner * sipVH_plasma_14(sip_gilstate_t,PyObject *,const QString&);

    return sipVH_plasma_14(sipGILState,sipMeth,a0);
}

Plasma::DataEngine * sipPlasma_PluginLoader::internalLoadDataEngine(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_internalLoadDataEngine);

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadDataEngine(a0);

    extern Plasma::DataEngine * sipVH_plasma_13(sip_gilstate_t,PyObject *,const QString&);

    return sipVH_plasma_13(sipGILState,sipMeth,a0);
}

Plasma::Service * sipPlasma_PluginLoader::internalLoadService(const QString& a0,const QVariantList& a1,QObject *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_internalLoadService);

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadService(a0,a1,a2);

    extern Plasma::Service * sipVH_plasma_12(sip_gilstate_t,PyObject *,const QString&,const QList<QVariant>&,QObject *);

    return sipVH_plasma_12(sipGILState,sipMeth,a0,a1,a2);
}

KPluginInfo::List sipPlasma_PluginLoader::internalAppletInfo(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_internalAppletInfo);

    if (!sipMeth)
        return Plasma::PluginLoader::internalAppletInfo(a0);

    extern QList<KPluginInfo> sipVH_plasma_11(sip_gilstate_t,PyObject *,const QString&);

    return sipVH_plasma_11(sipGILState,sipMeth,a0);
}

KPluginInfo::List sipPlasma_PluginLoader::internalDataEngineInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_internalDataEngineInfo);

    if (!sipMeth)
        return Plasma::PluginLoader::internalDataEngineInfo();

    extern QList<KPluginInfo> sipVH_plasma_10(sip_gilstate_t,PyObject *);

    return sipVH_plasma_10(sipGILState,sipMeth);
}

KPluginInfo::List sipPlasma_PluginLoader::internalRunnerInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_internalRunnerInfo);

    if (!sipMeth)
        return Plasma::PluginLoader::internalRunnerInfo();

    extern QList<KPluginInfo> sipVH_plasma_10(sip_gilstate_t,PyObject *);

    return sipVH_plasma_10(sipGILState,sipMeth);
}

KPluginInfo::List sipPlasma_PluginLoader::internalServiceInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_internalServiceInfo);

    if (!sipMeth)
        return Plasma::PluginLoader::internalServiceInfo();

    extern QList<KPluginInfo> sipVH_plasma_10(sip_gilstate_t,PyObject *);

    return sipVH_plasma_10(sipGILState,sipMeth);
}

Plasma::Applet * sipPlasma_PluginLoader::sipProtectVirt_internalLoadApplet(bool sipSelfWasArg,const QString& a0,uint a1,const QVariantList& a2)
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalLoadApplet(a0,a1,a2) : internalLoadApplet(a0,a1,a2));
}

Plasma::AbstractRunner * sipPlasma_PluginLoader::sipProtectVirt_internalLoadRunner(bool sipSelfWasArg,const QString& a0)
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalLoadRunner(a0) : internalLoadRunner(a0));
}

Plasma::DataEngine * sipPlasma_PluginLoader::sipProtectVirt_internalLoadDataEngine(bool sipSelfWasArg,const QString& a0)
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalLoadDataEngine(a0) : internalLoadDataEngine(a0));
}

Plasma::Service * sipPlasma_PluginLoader::sipProtectVirt_internalLoadService(bool sipSelfWasArg,const QString& a0,const QVariantList& a1,QObject *a2)
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalLoadService(a0,a1,a2) : internalLoadService(a0,a1,a2));
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtectVirt_internalAppletInfo(bool sipSelfWasArg,const QString& a0) const
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalAppletInfo(a0) : internalAppletInfo(a0));
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtectVirt_internalDataEngineInfo(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalDataEngineInfo() : internalDataEngineInfo());
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtectVirt_internalRunnerInfo(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalRunnerInfo() : internalRunnerInfo());
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtectVirt_internalServiceInfo(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::PluginLoader::internalServiceInfo() : internalServiceInfo());
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtect_standardInternalAppletInfo(const QString& a0) const
{
    return Plasma::PluginLoader::standardInternalAppletInfo(a0);
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtect_standardInternalDataEngineInfo() const
{
    return Plasma::PluginLoader::standardInternalDataEngineInfo();
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtect_standardInternalRunnerInfo() const
{
    return Plasma::PluginLoader::standardInternalRunnerInfo();
}

KPluginInfo::List sipPlasma_PluginLoader::sipProtect_standardInternalServiceInfo() const
{
    return Plasma::PluginLoader::standardInternalServiceInfo();
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_loadApplet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_loadApplet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        uint a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList * a2 = &a2def;
        int a2State = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|uJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loadApplet(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_Applet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_loadApplet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_loadDataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_loadDataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loadDataEngine(*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_PluginLoader, sipName_loadDataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_loadRunner(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_loadRunner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::AbstractRunner *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loadRunner(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_AbstractRunner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_loadRunner, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_loadService(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_loadService(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        const QVariantList * a1;
        int a1State = 0;
        QObject * a2 = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J:", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_QObject, &a2))
        {
            Plasma::Service *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loadService(*a0,*a1,a2);
            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_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_loadService, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_listAppletInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_listAppletInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->listAppletInfo(*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_PluginLoader, sipName_listAppletInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_listDataEngineInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_listDataEngineInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->listDataEngineInfo(*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_PluginLoader, sipName_listDataEngineInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_listRunnerInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_listRunnerInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->listRunnerInfo(*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_PluginLoader, sipName_listRunnerInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_setPluginLoader(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_setPluginLoader(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PluginLoader * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_Plasma_PluginLoader, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            Plasma::PluginLoader::setPluginLoader(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_PluginLoader, sipName_setPluginLoader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_pluginLoader(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_pluginLoader(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::PluginLoader *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::PluginLoader::pluginLoader();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_PluginLoader,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_pluginLoader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalLoadApplet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalLoadApplet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        uint a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList * a2 = &a2def;
        int a2State = 0;
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|uJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_internalLoadApplet(sipSelfWasArg,*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_Applet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_internalLoadApplet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalLoadRunner(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalLoadRunner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::AbstractRunner *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_internalLoadRunner(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_AbstractRunner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_internalLoadRunner, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalLoadDataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalLoadDataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_internalLoadDataEngine(sipSelfWasArg,*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_PluginLoader, sipName_internalLoadDataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalLoadService(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalLoadService(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariantList * a1;
        int a1State = 0;
        QObject * a2 = 0;
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J:", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_QObject, &a2))
        {
            Plasma::Service *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_internalLoadService(sipSelfWasArg,*a0,*a1,a2);
            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_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_internalLoadService, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalAppletInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalAppletInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtectVirt_internalAppletInfo(sipSelfWasArg,*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_PluginLoader, sipName_internalAppletInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalDataEngineInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalDataEngineInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtectVirt_internalDataEngineInfo(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_internalDataEngineInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalRunnerInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalRunnerInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtectVirt_internalRunnerInfo(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_internalRunnerInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_internalServiceInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_internalServiceInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtectVirt_internalServiceInfo(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_internalServiceInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_standardInternalAppletInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_standardInternalAppletInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtect_standardInternalAppletInfo(*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_PluginLoader, sipName_standardInternalAppletInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_standardInternalDataEngineInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_standardInternalDataEngineInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtect_standardInternalDataEngineInfo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_standardInternalDataEngineInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_standardInternalRunnerInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_standardInternalRunnerInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtect_standardInternalRunnerInfo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_standardInternalRunnerInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PluginLoader_standardInternalServiceInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PluginLoader_standardInternalServiceInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->sipProtect_standardInternalServiceInfo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PluginLoader, sipName_standardInternalServiceInfo, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_PluginLoader(void *, const sipTypeDef *);}
static void *cast_Plasma_PluginLoader(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_PluginLoader)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_PluginLoader(void *, int);}
static void release_Plasma_PluginLoader(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_PluginLoader *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::PluginLoader *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PluginLoader(sipSimpleWrapper *);}
static void dealloc_Plasma_PluginLoader(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_PluginLoader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PluginLoader(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_PluginLoader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_PluginLoader(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipPlasma_PluginLoader *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_PluginLoader();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_PluginLoader[] = {
    {SIP_MLNAME_CAST(sipName_internalAppletInfo), meth_Plasma_PluginLoader_internalAppletInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalDataEngineInfo), meth_Plasma_PluginLoader_internalDataEngineInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalLoadApplet), meth_Plasma_PluginLoader_internalLoadApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalLoadDataEngine), meth_Plasma_PluginLoader_internalLoadDataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalLoadRunner), meth_Plasma_PluginLoader_internalLoadRunner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalLoadService), meth_Plasma_PluginLoader_internalLoadService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalRunnerInfo), meth_Plasma_PluginLoader_internalRunnerInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalServiceInfo), meth_Plasma_PluginLoader_internalServiceInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listAppletInfo), meth_Plasma_PluginLoader_listAppletInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listDataEngineInfo), meth_Plasma_PluginLoader_listDataEngineInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listRunnerInfo), meth_Plasma_PluginLoader_listRunnerInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadApplet), meth_Plasma_PluginLoader_loadApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadDataEngine), meth_Plasma_PluginLoader_loadDataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadRunner), meth_Plasma_PluginLoader_loadRunner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadService), meth_Plasma_PluginLoader_loadService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginLoader), meth_Plasma_PluginLoader_pluginLoader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPluginLoader), meth_Plasma_PluginLoader_setPluginLoader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardInternalAppletInfo), meth_Plasma_PluginLoader_standardInternalAppletInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardInternalDataEngineInfo), meth_Plasma_PluginLoader_standardInternalDataEngineInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardInternalRunnerInfo), meth_Plasma_PluginLoader_standardInternalRunnerInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardInternalServiceInfo), meth_Plasma_PluginLoader_standardInternalServiceInfo, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PluginLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__PluginLoader,
        {0}
    },
    {
        sipNameNr_PluginLoader,
        {1, 255, 0},
        21, methods_Plasma_PluginLoader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Plasma_PluginLoader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PluginLoader,
    0,
    0,
    0,
    release_Plasma_PluginLoader,
    cast_Plasma_PluginLoader,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 92 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 11085 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"



extern "C" {static void assign_QList_1411(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_1411(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<const char *> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<const char *> *>(sipSrc);
}


extern "C" {static void *array_QList_1411(SIP_SSIZE_T);}
static void *array_QList_1411(SIP_SSIZE_T sipNrElem)
{
    return new QList<const char *>[sipNrElem];
}


extern "C" {static void *copy_QList_1411(const void *, SIP_SSIZE_T);}
static void *copy_QList_1411(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<const char *>(reinterpret_cast<const QList<const char *> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_1411(void *, int);}
static void release_QList_1411(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<const char *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_1411(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_1411(PyObject *,void **,int *,PyObject *)
{
#line 95 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
    return NULL;
#line 11126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_1411(void *, PyObject *);}
static PyObject *convertFrom_QList_1411(void *sipCppV,PyObject *)
{
   QList<const char *> *sipCpp = reinterpret_cast<QList<const char *> *>(sipCppV);

#line 99 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;
        int iserr;

        if ((pobj = sipBuildResult(&iserr,"s",sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 11159 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
}


sipMappedTypeDef sipTypeDef_plasma_QList_1411 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17401,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_1411,
    array_QList_1411,
    copy_QList_1411,
    release_QList_1411,
    convertTo_QList_1411,
    convertFrom_QList_1411
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 11190 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11194 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11197 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11200 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11203 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 11206 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 92 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 11209 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 11212 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11215 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11218 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11221 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11227 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11236 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11239 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11242 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11245 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_PackageStructure : public Plasma::PackageStructure
{
public:
    sipPlasma_PackageStructure(QObject *,const QString&);
    virtual ~sipPlasma_PackageStructure();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setAllowExternalPaths(bool);
    void sipProtect_setContentsPrefix(const QString&);
    void sipProtect_setDefaultPackageRoot(const QString&);
    void sipProtectVirt_pathChanged(bool);
    void sipProtect_setContentsPrefixPaths(const QStringList&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool installPackage(const QString&,const QString&);
    bool uninstallPackage(const QString&,const QString&);
    void createNewWidgetBrowser(QWidget *);
    void pathChanged();
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_PackageStructure(const sipPlasma_PackageStructure &);
    sipPlasma_PackageStructure &operator = (const sipPlasma_PackageStructure &);

    char sipPyMethods[11];
};

sipPlasma_PackageStructure::sipPlasma_PackageStructure(QObject *a0,const QString& a1): Plasma::PackageStructure(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_PackageStructure::~sipPlasma_PackageStructure()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_PackageStructure::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_PackageStructure);
}

int sipPlasma_PackageStructure::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::PackageStructure::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_PackageStructure,_c,_id,_a);

    return _id;
}

void *sipPlasma_PackageStructure::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_PackageStructure,_clname)) ? this : Plasma::PackageStructure::qt_metacast(_clname);
}

bool sipPlasma_PackageStructure::installPackage(const QString& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_installPackage);

    if (!sipMeth)
        return Plasma::PackageStructure::installPackage(a0,a1);

    typedef bool (*sipVH_QtXml_1)(sip_gilstate_t,PyObject *,const QString&,const QString&);

    return ((sipVH_QtXml_1)(sipModuleAPI_plasma_QtXml->em_virthandlers[1]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_PackageStructure::uninstallPackage(const QString& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_uninstallPackage);

    if (!sipMeth)
        return Plasma::PackageStructure::uninstallPackage(a0,a1);

    typedef bool (*sipVH_QtXml_1)(sip_gilstate_t,PyObject *,const QString&,const QString&);

    return ((sipVH_QtXml_1)(sipModuleAPI_plasma_QtXml->em_virthandlers[1]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_PackageStructure::createNewWidgetBrowser(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_createNewWidgetBrowser);

    if (!sipMeth)
    {
        Plasma::PackageStructure::createNewWidgetBrowser(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PackageStructure::pathChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_pathChanged);

    if (!sipMeth)
    {
        Plasma::PackageStructure::pathChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

bool sipPlasma_PackageStructure::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_PackageStructure::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_PackageStructure::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PackageStructure::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PackageStructure::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PackageStructure::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_PackageStructure::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipPlasma_PackageStructure::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_PackageStructure::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_PackageStructure::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_PackageStructure::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_PackageStructure::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_PackageStructure::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_PackageStructure::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_PackageStructure::sipProtect_setAllowExternalPaths(bool a0)
{
    Plasma::PackageStructure::setAllowExternalPaths(a0);
}

void sipPlasma_PackageStructure::sipProtect_setContentsPrefix(const QString& a0)
{
    Plasma::PackageStructure::setContentsPrefix(a0);
}

void sipPlasma_PackageStructure::sipProtect_setDefaultPackageRoot(const QString& a0)
{
    Plasma::PackageStructure::setDefaultPackageRoot(a0);
}

void sipPlasma_PackageStructure::sipProtectVirt_pathChanged(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Plasma::PackageStructure::pathChanged() : pathChanged());
}

void sipPlasma_PackageStructure::sipProtect_setContentsPrefixPaths(const QStringList& a0)
{
    Plasma::PackageStructure::setContentsPrefixPaths(a0);
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 11605 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 11647 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_load(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_load(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Plasma::PackageStructure::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageStructure::Ptr(Plasma::PackageStructure::load(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KSharedPtr_0100Plasma_PackageStructure,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_type(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->type());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_type, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_directories(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_directories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QList<const char *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<const char *>(sipCpp->directories());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_1411,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_directories, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_requiredDirectories(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_requiredDirectories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QList<const char *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<const char *>(sipCpp->requiredDirectories());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_1411,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_requiredDirectories, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_files(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_files(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QList<const char *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<const char *>(sipCpp->files());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_1411,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_files, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_requiredFiles(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_requiredFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QList<const char *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<const char *>(sipCpp->requiredFiles());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_1411,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_requiredFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_addDirectoryDefinition(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_addDirectoryDefinition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1J1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addDirectoryDefinition(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            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_PackageStructure, sipName_addDirectoryDefinition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_addFileDefinition(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_addFileDefinition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1J1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addFileDefinition(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            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_PackageStructure, sipName_addFileDefinition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_path(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_path, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_entryList(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_entryList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->entryList(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_entryList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        bool a1;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAb", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRequired(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_setRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_isRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_isRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRequired(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_isRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setDefaultMimetypes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setDefaultMimetypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStringList * a0;
        int a0State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultMimetypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_setDefaultMimetypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setMimetypes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setMimetypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        QStringList * a1;
        int a1State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimetypes(a0,*a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(a1,sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_setMimetypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_mimetypes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_mimetypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimetypes(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_mimetypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*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_PackageStructure, sipName_setPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_read(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigBase * a0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_KConfigBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->read(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_PackageStructure, sipName_read, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_write(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase * a0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_KConfigBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->write(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_PackageStructure, sipName_write, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_installPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_installPackage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PackageStructure::installPackage(*a0,*a1) : sipCpp->installPackage(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_installPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_uninstallPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_uninstallPackage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PackageStructure::uninstallPackage(*a0,*a1) : sipCpp->uninstallPackage(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_uninstallPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_createNewWidgetBrowser(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_createNewWidgetBrowser(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0 = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J:", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PackageStructure::createNewWidgetBrowser(a0) : sipCpp->createNewWidgetBrowser(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_PackageStructure, sipName_createNewWidgetBrowser, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_contentsPrefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_contentsPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->contentsPrefix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_contentsPrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_defaultPackageRoot(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_defaultPackageRoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->defaultPackageRoot());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_defaultPackageRoot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_servicePrefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_servicePrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->servicePrefix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_servicePrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setServicePrefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setServicePrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setServicePrefix(*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_PackageStructure, sipName_setServicePrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_allowExternalPaths(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_allowExternalPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->allowExternalPaths();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_allowExternalPaths, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setAllowExternalPaths(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setAllowExternalPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setAllowExternalPaths(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_PackageStructure, sipName_setAllowExternalPaths, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setContentsPrefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setContentsPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setContentsPrefix(*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_PackageStructure, sipName_setContentsPrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setDefaultPackageRoot(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setDefaultPackageRoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDefaultPackageRoot(*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_PackageStructure, sipName_setDefaultPackageRoot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_pathChanged(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_pathChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_pathChanged(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_pathChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_removeDefinition(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_removeDefinition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeDefinition(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_removeDefinition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_searchPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_searchPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0Keep, &a0))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->searchPath(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_searchPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_contentsPrefixPaths(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_contentsPrefixPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->contentsPrefixPaths());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_contentsPrefixPaths, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageStructure_setContentsPrefixPaths(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageStructure_setContentsPrefixPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList * a0;
        int a0State = 0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setContentsPrefixPaths(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageStructure, sipName_setContentsPrefixPaths, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_PackageStructure(void *, const sipTypeDef *);}
static void *cast_Plasma_PackageStructure(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_PackageStructure)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::PackageStructure *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_PackageStructure(void *, int);}
static void release_Plasma_PackageStructure(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_PackageStructure *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::PackageStructure *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PackageStructure(sipSimpleWrapper *);}
static void dealloc_Plasma_PackageStructure(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_PackageStructure *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PackageStructure(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_PackageStructure(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_PackageStructure(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_PackageStructure *sipCpp = 0;

    {
        QObject * a0 = 0;
        const QString& a1def = i18nc("A non-functional package","Invalid");
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QObject, &a0, sipOwner, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_PackageStructure(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_PackageStructure[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_PackageStructure[] = {
    {SIP_MLNAME_CAST(sipName_addDirectoryDefinition), meth_Plasma_PackageStructure_addDirectoryDefinition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addFileDefinition), meth_Plasma_PackageStructure_addFileDefinition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allowExternalPaths), meth_Plasma_PackageStructure_allowExternalPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_PackageStructure_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_PackageStructure_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsPrefix), meth_Plasma_PackageStructure_contentsPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsPrefixPaths), meth_Plasma_PackageStructure_contentsPrefixPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewWidgetBrowser), meth_Plasma_PackageStructure_createNewWidgetBrowser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_PackageStructure_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultPackageRoot), meth_Plasma_PackageStructure_defaultPackageRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directories), meth_Plasma_PackageStructure_directories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_PackageStructure_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entryList), meth_Plasma_PackageStructure_entryList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_files), meth_Plasma_PackageStructure_files, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installPackage), meth_Plasma_PackageStructure_installPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRequired), meth_Plasma_PackageStructure_isRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Plasma_PackageStructure_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetypes), meth_Plasma_PackageStructure_mimetypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_PackageStructure_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_Plasma_PackageStructure_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pathChanged), meth_Plasma_PackageStructure_pathChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_read), meth_Plasma_PackageStructure_read, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_PackageStructure_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeDefinition), meth_Plasma_PackageStructure_removeDefinition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requiredDirectories), meth_Plasma_PackageStructure_requiredDirectories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requiredFiles), meth_Plasma_PackageStructure_requiredFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_searchPath), meth_Plasma_PackageStructure_searchPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_PackageStructure_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_servicePrefix), meth_Plasma_PackageStructure_servicePrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowExternalPaths), meth_Plasma_PackageStructure_setAllowExternalPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContentsPrefix), meth_Plasma_PackageStructure_setContentsPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContentsPrefixPaths), meth_Plasma_PackageStructure_setContentsPrefixPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultMimetypes), meth_Plasma_PackageStructure_setDefaultMimetypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultPackageRoot), meth_Plasma_PackageStructure_setDefaultPackageRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimetypes), meth_Plasma_PackageStructure_setMimetypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPath), meth_Plasma_PackageStructure_setPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRequired), meth_Plasma_PackageStructure_setRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setServicePrefix), meth_Plasma_PackageStructure_setServicePrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_PackageStructure_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_PackageStructure_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstallPackage), meth_Plasma_PackageStructure_uninstallPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_Plasma_PackageStructure_write, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_PackageStructure[] = {
    {"newWidgetBrowserFinished()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PackageStructure = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__PackageStructure,
        {0}
    },
    {
        sipNameNr_PackageStructure,
        {1, 255, 0},
        42, methods_Plasma_PackageStructure,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_PackageStructure,
    0,
    init_Plasma_PackageStructure,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PackageStructure,
    0,
    0,
    0,
    release_Plasma_PackageStructure,
    cast_Plasma_PackageStructure,
    0,
    0,
    0
},
    &Plasma::PackageStructure::staticMetaObject,
    0,
    pyqt4_signals_Plasma_PackageStructure
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 13014 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13018 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13021 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13024 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


extern "C" {static PyObject *meth_Plasma_PackageMetadata_isValid(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &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_PackageMetadata, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_write(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->write(*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_PackageMetadata, sipName_write, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_read(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->read(*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_PackageMetadata, sipName_read, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &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_PackageMetadata, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_keywords(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_keywords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->keywords());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_keywords, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_serviceType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_serviceType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->serviceType());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_serviceType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_author(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_author(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->author());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_author, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_email(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_email(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->email());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_email, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_version(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_version(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->version());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_version, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_website(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_website(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->website());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_website, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_license(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_license(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->license());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_license, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_application(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_application(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->application());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_application, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_category(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_category(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->category());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_category, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_requiredVersion(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_requiredVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->requiredVersion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_requiredVersion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_pluginName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_pluginName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &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_PackageMetadata, sipName_pluginName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_implementationApi(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_implementationApi(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->implementationApi());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_implementationApi, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_type(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->type());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_type, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &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_PackageMetadata, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setDescription(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDescription(*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_PackageMetadata, sipName_setDescription, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setKeywords(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setKeywords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeywords(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_setKeywords, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setServiceType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setServiceType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setServiceType(*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_PackageMetadata, sipName_setServiceType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setAuthor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setAuthor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthor(*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_PackageMetadata, sipName_setAuthor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setEmail(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setEmail(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEmail(*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_PackageMetadata, sipName_setEmail, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setVersion(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVersion(*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_PackageMetadata, sipName_setVersion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setWebsite(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setWebsite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWebsite(*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_PackageMetadata, sipName_setWebsite, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setLicense(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setLicense(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLicense(*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_PackageMetadata, sipName_setLicense, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setApplication(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setApplication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setApplication(*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_PackageMetadata, sipName_setApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setCategory(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setCategory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCategory(*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_PackageMetadata, sipName_setCategory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setRequiredVersion(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setRequiredVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRequiredVersion(*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_PackageMetadata, sipName_setRequiredVersion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*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_PackageMetadata, sipName_setType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setPluginName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setPluginName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPluginName(*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_PackageMetadata, sipName_setPluginName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setImplementationApi(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setImplementationApi(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImplementationApi(*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_PackageMetadata, sipName_setImplementationApi, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_remoteLocation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_remoteLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->remoteLocation());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PackageMetadata, sipName_remoteLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setRemoteLocation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setRemoteLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl * a0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_PackageMetadata, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRemoteLocation(*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_PackageMetadata, sipName_setRemoteLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PackageMetadata, &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_PackageMetadata, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PackageMetadata, &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_PackageMetadata, sipName_setIcon, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_PackageMetadata(void *, const sipTypeDef *);}
static void *cast_Plasma_PackageMetadata(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_PackageMetadata)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_PackageMetadata(void *, int);}
static void release_Plasma_PackageMetadata(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::PackageMetadata *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PackageMetadata(sipSimpleWrapper *);}
static void dealloc_Plasma_PackageMetadata(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PackageMetadata(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_PackageMetadata(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_PackageMetadata(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::PackageMetadata *sipCpp = 0;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::PackageMetadata(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_PackageMetadata[] = {
    {SIP_MLNAME_CAST(sipName_application), meth_Plasma_PackageMetadata_application, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_author), meth_Plasma_PackageMetadata_author, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_category), meth_Plasma_PackageMetadata_category, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_PackageMetadata_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_email), meth_Plasma_PackageMetadata_email, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_PackageMetadata_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_implementationApi), meth_Plasma_PackageMetadata_implementationApi, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_PackageMetadata_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keywords), meth_Plasma_PackageMetadata_keywords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_license), meth_Plasma_PackageMetadata_license, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_PackageMetadata_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginName), meth_Plasma_PackageMetadata_pluginName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_read), meth_Plasma_PackageMetadata_read, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remoteLocation), meth_Plasma_PackageMetadata_remoteLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requiredVersion), meth_Plasma_PackageMetadata_requiredVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serviceType), meth_Plasma_PackageMetadata_serviceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplication), meth_Plasma_PackageMetadata_setApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthor), meth_Plasma_PackageMetadata_setAuthor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategory), meth_Plasma_PackageMetadata_setCategory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_Plasma_PackageMetadata_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEmail), meth_Plasma_PackageMetadata_setEmail, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_PackageMetadata_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImplementationApi), meth_Plasma_PackageMetadata_setImplementationApi, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeywords), meth_Plasma_PackageMetadata_setKeywords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLicense), meth_Plasma_PackageMetadata_setLicense, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_Plasma_PackageMetadata_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPluginName), meth_Plasma_PackageMetadata_setPluginName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRemoteLocation), meth_Plasma_PackageMetadata_setRemoteLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRequiredVersion), meth_Plasma_PackageMetadata_setRequiredVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setServiceType), meth_Plasma_PackageMetadata_setServiceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_Plasma_PackageMetadata_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVersion), meth_Plasma_PackageMetadata_setVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWebsite), meth_Plasma_PackageMetadata_setWebsite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_PackageMetadata_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_version), meth_Plasma_PackageMetadata_version, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_website), meth_Plasma_PackageMetadata_website, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_Plasma_PackageMetadata_write, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PackageMetadata = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__PackageMetadata,
        {0}
    },
    {
        sipNameNr_PackageMetadata,
        {1, 255, 0},
        37, methods_Plasma_PackageMetadata,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Plasma_PackageMetadata,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PackageMetadata,
    0,
    0,
    0,
    release_Plasma_PackageMetadata,
    cast_Plasma_PackageMetadata,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 14213 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14217 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 14220 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 14223 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 14226 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14229 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


extern "C" {static PyObject *meth_Plasma_Package_isValid(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Package, &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_Package, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_filePath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        const QString * a1;
        int a1State = 0;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_Plasma_Package, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_Package, &sipCpp, &a0Keep, &a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_filePath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_entryList(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_entryList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_Plasma_Package, &sipCpp, &a0Keep, &a0))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->entryList(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_entryList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_metadata(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_metadata(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Package, &sipCpp))
        {
            Plasma::PackageMetadata *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageMetadata(sipCpp->metadata());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_PackageMetadata,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_metadata, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_setPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_setPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Package, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*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_Package, sipName_setPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_path(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Package, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_path, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_structure(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_structure(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Package, &sipCpp))
        {
            Plasma::PackageStructure::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageStructure::Ptr(sipCpp->structure());
            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_Package, sipName_structure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_listInstalled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_listInstalled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::Package::listInstalled(*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_Package, sipName_listInstalled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_listInstalledPaths(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_listInstalledPaths(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::Package::listInstalledPaths(*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_Package, sipName_listInstalledPaths, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_installPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_installPackage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::installPackage(*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<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_installPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_uninstallPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_uninstallPackage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::uninstallPackage(*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<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_uninstallPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_registerPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_registerPackage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PackageMetadata * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_Plasma_PackageMetadata, &a0, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::registerPackage(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_registerPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_createPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_createPackage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PackageMetadata * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1|J1", sipType_Plasma_PackageMetadata, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::createPackage(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_createPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Package_contentsHash(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Package_contentsHash(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Package, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->contentsHash());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Package, sipName_contentsHash, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Package(void *, const sipTypeDef *);}
static void *cast_Plasma_Package(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Package)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Package(void *, int);}
static void release_Plasma_Package(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Package *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Package(sipSimpleWrapper *);}
static void dealloc_Plasma_Package(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Package(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_Package(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Package(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::Package *sipCpp = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::PackageStructure::Ptr * a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KSharedPtr_0100Plasma_PackageStructure,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Package(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KSharedPtr_0100Plasma_PackageStructure,a2State);

            return sipCpp;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageStructure::Ptr * a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QString,&a0, &a0State, sipType_KSharedPtr_0100Plasma_PackageStructure,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Package(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KSharedPtr_0100Plasma_PackageStructure,a1State);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Package();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_Package[] = {
    {SIP_MLNAME_CAST(sipName_contentsHash), meth_Plasma_Package_contentsHash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createPackage), meth_Plasma_Package_createPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entryList), meth_Plasma_Package_entryList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filePath), meth_Plasma_Package_filePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installPackage), meth_Plasma_Package_installPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_Package_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listInstalled), meth_Plasma_Package_listInstalled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listInstalledPaths), meth_Plasma_Package_listInstalledPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metadata), meth_Plasma_Package_metadata, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_Plasma_Package_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerPackage), meth_Plasma_Package_registerPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPath), meth_Plasma_Package_setPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_structure), meth_Plasma_Package_structure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstallPackage), meth_Plasma_Package_uninstallPackage, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Package = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Package,
        {0}
    },
    {
        sipNameNr_Package,
        {1, 255, 0},
        14, methods_Plasma_Package,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Plasma_Package,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Package,
    0,
    0,
    0,
    release_Plasma_Package,
    cast_Plasma_Package,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/glapplet.sip"
#include <plasma/glapplet.h>
#line 14834 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14838 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14841 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14844 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14847 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14853 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qimage.sip"
#include <qimage.h>
#line 14856 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 1755 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14862 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14865 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14868 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 14871 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 14874 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 14877 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14880 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14883 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 103 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 14886 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14889 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 14892 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 223 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14895 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14898 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 53 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14901 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14904 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 14907 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 14910 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 14913 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14916 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 14919 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 14922 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 14925 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 14928 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 14931 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 14934 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 14937 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 14943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14946 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 14949 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14952 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 14955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 14958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 164 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 14961 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 14964 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 14967 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 14970 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 14973 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 14976 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14979 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 244 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14982 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14985 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14988 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 97 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14991 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14994 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 14997 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 15000 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15003 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15006 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15009 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 15012 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15015 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15018 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15021 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15024 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15027 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15030 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15033 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15036 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15039 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15042 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 15045 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15048 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 1030 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15051 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 15054 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 15057 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15060 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15063 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15066 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15069 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 193 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15072 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 110 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15075 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 343 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 15078 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 15081 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15084 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15087 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15090 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 995 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15093 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 15096 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 15099 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_GLApplet : public Plasma::GLApplet
{
public:
    sipPlasma_GLApplet(QGraphicsItem *,const QString&,int);
    sipPlasma_GLApplet(QObject *,const QVariantList&);
    virtual ~sipPlasma_GLApplet();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_updateMicroFocus();
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtect_setFailedToLaunch(bool,const QString&);
    void sipProtectVirt_saveState(bool,KConfigGroup&) const;
    void sipProtect_setHasConfigurationInterface(bool);
    void sipProtect_setConfigurationRequired(bool,const QString&);
    void sipProtect_showMessage(const QIcon&,const QString&,const Plasma::MessageButtons);
    void sipProtectVirt_constraintsEvent(bool,Plasma::Constraints);
    void sipProtect_registerAsDragHandle(QGraphicsItem *);
    void sipProtect_unregisterAsDragHandle(QGraphicsItem *);
    bool sipProtect_isRegisteredAsDragHandle(QGraphicsItem *);
    Plasma::Extender * sipProtect_extender() const;
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    QPainterPath sipProtectVirt_shape(bool) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void paintGLInterface(QPainter *,const QStyleOptionGraphicsItem *);
    void save(KConfigGroup&) const;
    void restore(KConfigGroup&);
    Plasma::FormFactor formFactor() const;
    Plasma::Location location() const;
    void paintInterface(QPainter *,const QStyleOptionGraphicsItem *,const QRect&);
    QList<QAction *> contextualActions();
    bool isPopupShowing() const;
    void addAssociatedWidget(QWidget *);
    void removeAssociatedWidget(QWidget *);
    void initExtenderItem(Plasma::ExtenderItem *);
    void createConfigurationInterface(KConfigDialog *);
    void destroy();
    void showConfigurationInterface();
    void init();
    void configChanged();
    void saveState(KConfigGroup&) const;
    void constraintsEvent(Plasma::Constraints);
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool event(QEvent *);
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void focusInEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent *);
    void hideEvent(QHideEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void showEvent(QShowEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    bool sceneEventFilter(QGraphicsItem *,QEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_GLApplet(const sipPlasma_GLApplet &);
    sipPlasma_GLApplet &operator = (const sipPlasma_GLApplet &);

    char sipPyMethods[77];
};

sipPlasma_GLApplet::sipPlasma_GLApplet(QGraphicsItem *a0,const QString& a1,int a2): Plasma::GLApplet(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_GLApplet::sipPlasma_GLApplet(QObject *a0,const QVariantList& a1): Plasma::GLApplet(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_GLApplet::~sipPlasma_GLApplet()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_GLApplet::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_GLApplet);
}

int sipPlasma_GLApplet::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::GLApplet::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_GLApplet,_c,_id,_a);

    return _id;
}

void *sipPlasma_GLApplet::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_GLApplet,_clname)) ? this : Plasma::GLApplet::qt_metacast(_clname);
}

void sipPlasma_GLApplet::paintGLInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_paintGLInterface);

    if (!sipMeth)
    {
        Plasma::GLApplet::paintGLInterface(a0,a1);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *);

    sipVH_plasma_16(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_GLApplet::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::Applet::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_restore);

    if (!sipMeth)
    {
        Plasma::Applet::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

Plasma::FormFactor sipPlasma_GLApplet::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_formFactor);

    if (!sipMeth)
        return Plasma::Applet::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t,PyObject *);

    return sipVH_plasma_27(sipGILState,sipMeth);
}

Plasma::Location sipPlasma_GLApplet::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_location);

    if (!sipMeth)
        return Plasma::Applet::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t,PyObject *);

    return sipVH_plasma_26(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::paintInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_paintInterface);

    if (!sipMeth)
    {
        Plasma::Applet::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,const QRect&);

    sipVH_plasma_8(sipGILState,sipMeth,a0,a1,a2);
}

QList<QAction *> sipPlasma_GLApplet::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::Applet::contextualActions();

    typedef QList<QAction *> (*sipVH_QtGui_168)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState,sipMeth);
}

bool sipPlasma_GLApplet::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_isPopupShowing);

    if (!sipMeth)
        return Plasma::Applet::isPopupShowing();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::addAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_addAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::removeAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_removeAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::initExtenderItem(Plasma::ExtenderItem *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_initExtenderItem);

    if (!sipMeth)
    {
        Plasma::Applet::initExtenderItem(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sipVH_plasma_18(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::createConfigurationInterface(KConfigDialog *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::createConfigurationInterface(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t,PyObject *,KConfigDialog *);

    sipVH_plasma_25(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_destroy);

    if (!sipMeth)
    {
        Plasma::Applet::destroy();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::showConfigurationInterface();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::Applet::init();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_configChanged);

    if (!sipMeth)
    {
        Plasma::Applet::configChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        Plasma::Applet::saveState(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_constraintsEvent);

    if (!sipMeth)
    {
        Plasma::Applet::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t,PyObject *,Plasma::Constraints);

    sipVH_plasma_7(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t,PyObject *,const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState,sipMeth,a0,a1,a2,a3);
}

int sipPlasma_GLApplet::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Applet::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,sipMeth,a0,a1,a2);
}

void sipPlasma_GLApplet::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Applet::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,sipMeth,a0,a1,a2);
}

QRectF sipPlasma_GLApplet::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,sipMeth);
}

QPainterPath sipPlasma_GLApplet::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::Applet::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::initStyleOption(QStyleOption *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *,QStyleOption *);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,sipMeth,a0);
}

QSizeF sipPlasma_GLApplet::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Applet::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_GLApplet::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QVariant sipPlasma_GLApplet::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Applet::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_GLApplet::sceneEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::windowFrameEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

Qt::WindowFrameSection sipPlasma_GLApplet::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Applet::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGraphicsWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::Applet::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::grabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::ungrabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::grabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::ungrabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Applet::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_GLApplet::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Applet::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsItem::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_GLApplet::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_GLApplet::isObscuredBy(const QGraphicsItem *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsItem::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState,sipMeth,a0);
}

QPainterPath sipPlasma_GLApplet::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[60]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsItem::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,sipMeth);
}

void sipPlasma_GLApplet::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,sipMeth,a0);
}

QVariant sipPlasma_GLApplet::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsItem::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_GLApplet::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Applet::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_GLApplet::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,sipMeth,a0);
}

void sipPlasma_GLApplet::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_GLApplet::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_GLApplet::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_GLApplet::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_GLApplet::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_GLApplet::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject * sipPlasma_GLApplet::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_GLApplet::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_GLApplet::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_GLApplet::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

void sipPlasma_GLApplet::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

bool sipPlasma_GLApplet::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_GLApplet::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_GLApplet::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_GLApplet::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

bool sipPlasma_GLApplet::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_GLApplet::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_GLApplet::sipProtect_setFailedToLaunch(bool a0,const QString& a1)
{
    Plasma::Applet::setFailedToLaunch(a0,a1);
}

void sipPlasma_GLApplet::sipProtectVirt_saveState(bool sipSelfWasArg,KConfigGroup& a0) const
{
    (sipSelfWasArg ? Plasma::Applet::saveState(a0) : saveState(a0));
}

void sipPlasma_GLApplet::sipProtect_setHasConfigurationInterface(bool a0)
{
    Plasma::Applet::setHasConfigurationInterface(a0);
}

void sipPlasma_GLApplet::sipProtect_setConfigurationRequired(bool a0,const QString& a1)
{
    Plasma::Applet::setConfigurationRequired(a0,a1);
}

void sipPlasma_GLApplet::sipProtect_showMessage(const QIcon& a0,const QString& a1,const Plasma::MessageButtons a2)
{
    Plasma::Applet::showMessage(a0,a1,a2);
}

void sipPlasma_GLApplet::sipProtectVirt_constraintsEvent(bool sipSelfWasArg,Plasma::Constraints a0)
{
    (sipSelfWasArg ? Plasma::Applet::constraintsEvent(a0) : constraintsEvent(a0));
}

void sipPlasma_GLApplet::sipProtect_registerAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::registerAsDragHandle(a0);
}

void sipPlasma_GLApplet::sipProtect_unregisterAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::unregisterAsDragHandle(a0);
}

bool sipPlasma_GLApplet::sipProtect_isRegisteredAsDragHandle(QGraphicsItem *a0)
{
    return Plasma::Applet::isRegisteredAsDragHandle(a0);
}

Plasma::Extender * sipPlasma_GLApplet::sipProtect_extender() const
{
    return Plasma::Applet::extender();
}

bool sipPlasma_GLApplet::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipPlasma_GLApplet::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_GLApplet::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::resizeEvent(a0) : resizeEvent(a0));
}

QPainterPath sipPlasma_GLApplet::sipProtectVirt_shape(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::Applet::shape() : shape());
}

QSizeF sipPlasma_GLApplet::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? Plasma::Applet::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_GLApplet::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::timerEvent(a0) : timerEvent(a0));
}

QVariant sipPlasma_GLApplet::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? Plasma::Applet::itemChange(a0,a1) : itemChange(a0,a1));
}


extern "C" {static PyObject *meth_Plasma_GLApplet_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_setGraphicsItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_setOwnedByLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_inputMethodQuery, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_prepareGeometryChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 17419 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 17461 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_initStyleOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QStyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_initStyleOption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_updateGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_sceneEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_sceneEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_windowFrameEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_windowFrameEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_windowFrameSectionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QPointF, &a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_windowFrameSectionAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_moveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_polishEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_polishEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_hoverMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_grabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_grabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_ungrabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_ungrabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_grabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_grabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_ungrabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_ungrabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_setFailedToLaunch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_setFailedToLaunch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFailedToLaunch(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_GLApplet, sipName_setFailedToLaunch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_saveState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_saveState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_setHasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_setHasConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHasConfigurationInterface(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_GLApplet, sipName_setHasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigurationRequired(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_GLApplet, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_showMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon * a0;
        const QString * a1;
        int a1State = 0;
        const Plasma::MessageButtons * a2;
        int a2State = 0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_showMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_constraintsEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_constraintsEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_constraintsEvent(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_constraintsEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_registerAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_registerAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_registerAsDragHandle(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_GLApplet, sipName_registerAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_unregisterAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_unregisterAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_unregisterAsDragHandle(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_GLApplet, sipName_unregisterAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_isRegisteredAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_isRegisteredAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_isRegisteredAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_extender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_extender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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_GLApplet, sipName_extender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_sceneEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_shape(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(sipCpp->sipProtectVirt_shape(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J9", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_itemChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_itemChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_paintGLInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_paintGLInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        Plasma::GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::GLApplet::paintGLInterface(a0,a1) : sipCpp->paintGLInterface(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_GLApplet, sipName_paintGLInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_makeCurrent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_makeCurrent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GLApplet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->makeCurrent();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_makeCurrent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_bindTexture(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_bindTexture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QImage * a0;
        GLenum a1 = GL_TEXTURE_2D;
        Plasma::GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|u", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, sipType_QImage, &a0, &a1))
        {
            GLuint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->bindTexture(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GLApplet, sipName_bindTexture, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_deleteTexture(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_deleteTexture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        GLuint a0;
        Plasma::GLApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_Plasma_GLApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteTexture(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_GLApplet, sipName_deleteTexture, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_GLApplet(void *, const sipTypeDef *);}
static void *cast_Plasma_GLApplet(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_GLApplet)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Applet)->ctd_cast((Plasma::Applet *)(Plasma::GLApplet *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_GLApplet(void *, int);}
static void release_Plasma_GLApplet(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_GLApplet *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::GLApplet *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_GLApplet(sipSimpleWrapper *);}
static void dealloc_Plasma_GLApplet(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_GLApplet *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_GLApplet(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_GLApplet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_GLApplet(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_GLApplet *sipCpp = 0;

    {
        QGraphicsItem * a0;
        const QString * a1;
        int a1State = 0;
        int a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1i", sipType_QGraphicsItem, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_GLApplet(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject * a0;
        const QVariantList * a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_GLApplet(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_GLApplet[] = {{21, 255, 1}};


static PyMethodDef methods_Plasma_GLApplet[] = {
    {SIP_MLNAME_CAST(sipName_bindTexture), meth_Plasma_GLApplet_bindTexture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_GLApplet_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_GLApplet_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_GLApplet_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_GLApplet_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_GLApplet_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_GLApplet_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_GLApplet_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteTexture), meth_Plasma_GLApplet_deleteTexture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_GLApplet_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_GLApplet_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_GLApplet_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_GLApplet_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_GLApplet_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_GLApplet_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_GLApplet_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_GLApplet_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_GLApplet_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_GLApplet_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_GLApplet_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_GLApplet_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_GLApplet_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_GLApplet_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_GLApplet_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_GLApplet_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_GLApplet_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_GLApplet_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_GLApplet_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_GLApplet_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_GLApplet_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_GLApplet_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_GLApplet_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_GLApplet_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCurrent), meth_Plasma_GLApplet_makeCurrent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_GLApplet_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_GLApplet_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_GLApplet_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_GLApplet_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_GLApplet_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintGLInterface), meth_Plasma_GLApplet_paintGLInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_GLApplet_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_GLApplet_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_GLApplet_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_GLApplet_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_GLApplet_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_GLApplet_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_GLApplet_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_GLApplet_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_GLApplet_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_GLApplet_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_GLApplet_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_GLApplet_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_GLApplet_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_GLApplet_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_GLApplet_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_GLApplet_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_GLApplet_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_GLApplet_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_GLApplet_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_GLApplet_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_GLApplet_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_GLApplet_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_GLApplet_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Plasma_GLApplet_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_GLApplet_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_GLApplet_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_GLApplet_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_GLApplet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__GLApplet,
        {0}
    },
    {
        sipNameNr_GLApplet,
        {1, 255, 0},
        67, methods_Plasma_GLApplet,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_GLApplet,
    0,
    init_Plasma_GLApplet,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_GLApplet,
    0,
    0,
    0,
    release_Plasma_GLApplet,
    cast_Plasma_GLApplet,
    0,
    0,
    0
},
    &Plasma::GLApplet::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 19083 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 19087 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


extern "C" {static int slot_Plasma_FrameSvg_EnabledBorders___bool__(PyObject *);}
static int slot_Plasma_FrameSvg_EnabledBorders___bool__(PyObject *sipSelf)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 19105 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            bool sipRes = 0;

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 19135 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_FrameSvg_EnabledBorders,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            bool sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 19171 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_FrameSvg_EnabledBorders,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___invert__(PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___invert__(PyObject *sipSelf)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___and__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State, &a1))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,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_FrameSvg_EnabledBorders___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        Plasma::FrameSvg::EnabledBorders * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State, sipType_Plasma_FrameSvg_EnabledBorders, &a1, &a1State))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);
            sipReleaseType(a1,sipType_Plasma_FrameSvg_EnabledBorders,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,NULL);
        }
    }

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State, &a1))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::FrameSvg::EnabledBorders(*a0 ^ a1);
#line 19280 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,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_FrameSvg_EnabledBorders___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        Plasma::FrameSvg::EnabledBorders * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State, sipType_Plasma_FrameSvg_EnabledBorders, &a1, &a1State))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);
            sipReleaseType(a1,sipType_Plasma_FrameSvg_EnabledBorders,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,NULL);
        }
    }

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State, &a1))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes = 0;

#line 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::FrameSvg::EnabledBorders(*a0 | a1);
#line 19332 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,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_FrameSvg_EnabledBorders___int__(PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___int__(PyObject *sipSelf)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    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_FrameSvg_EnabledBorders___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorders)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::FrameSvg::EnabledBorders::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,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_FrameSvg_EnabledBorders___ior__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorders)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::FrameSvg::EnabledBorders::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,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_FrameSvg_EnabledBorders___iand__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorders)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::FrameSvg::EnabledBorders::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_FrameSvg_EnabledBorders(void *, const sipTypeDef *);}
static void *cast_Plasma_FrameSvg_EnabledBorders(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_FrameSvg_EnabledBorders)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_FrameSvg_EnabledBorders(void *, int);}
static void release_Plasma_FrameSvg_EnabledBorders(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_FrameSvg_EnabledBorders(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_FrameSvg_EnabledBorders(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::FrameSvg::EnabledBorders *>(sipSrc);
}


extern "C" {static void *array_Plasma_FrameSvg_EnabledBorders(SIP_SSIZE_T);}
static void *array_Plasma_FrameSvg_EnabledBorders(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::FrameSvg::EnabledBorders[sipNrElem];
}


extern "C" {static void *copy_Plasma_FrameSvg_EnabledBorders(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_FrameSvg_EnabledBorders(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::FrameSvg::EnabledBorders(reinterpret_cast<const Plasma::FrameSvg::EnabledBorders *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_FrameSvg_EnabledBorders(sipSimpleWrapper *);}
static void dealloc_Plasma_FrameSvg_EnabledBorders(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_FrameSvg_EnabledBorders(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_FrameSvg_EnabledBorders(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_FrameSvg_EnabledBorders(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = 0;

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::FrameSvg::EnabledBorders(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::FrameSvg::EnabledBorders(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::FrameSvg::EnabledBorders();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_FrameSvg_EnabledBorders(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_FrameSvg_EnabledBorders(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::FrameSvg::EnabledBorders **sipCppPtr = reinterpret_cast<Plasma::FrameSvg::EnabledBorders **>(sipCppPtrV);

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::FrameSvg::EnabledBorders is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorder)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_FrameSvg_EnabledBorders, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorder)))
{
    *sipCppPtr = new Plasma::FrameSvg::EnabledBorders(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipConvertToType(sipPy, sipType_Plasma_FrameSvg_EnabledBorders, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 19627 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_FrameSvg_EnabledBorders[] = {
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___bool__, bool_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___ne__, ne_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___eq__, eq_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___invert__, invert_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___and__, and_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___xor__, xor_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___or__, or_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___int__, int_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___ixor__, ixor_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___ior__, ior_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_FrameSvg_EnabledBorders = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__FrameSvg__EnabledBorders,
        {0}
    },
    {
        sipNameNr_EnabledBorders,
        {74, 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_FrameSvg_EnabledBorders,
    init_Plasma_FrameSvg_EnabledBorders,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_FrameSvg_EnabledBorders,
    assign_Plasma_FrameSvg_EnabledBorders,
    array_Plasma_FrameSvg_EnabledBorders,
    copy_Plasma_FrameSvg_EnabledBorders,
    release_Plasma_FrameSvg_EnabledBorders,
    cast_Plasma_FrameSvg_EnabledBorders,
    convertTo_Plasma_FrameSvg_EnabledBorders,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 19700 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19704 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 19707 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 164 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 19710 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 97 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 19713 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 19716 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 19719 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19722 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 103 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 19725 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 19728 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 19731 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 19734 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 19737 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19740 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19743 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19746 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19749 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19752 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19755 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19758 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19761 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19764 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19767 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19770 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_FrameSvg : public Plasma::FrameSvg
{
public:
    sipPlasma_FrameSvg(QObject *);
    virtual ~sipPlasma_FrameSvg();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_FrameSvg(const sipPlasma_FrameSvg &);
    sipPlasma_FrameSvg &operator = (const sipPlasma_FrameSvg &);

    char sipPyMethods[7];
};

sipPlasma_FrameSvg::sipPlasma_FrameSvg(QObject *a0): Plasma::FrameSvg(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_FrameSvg::~sipPlasma_FrameSvg()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_FrameSvg::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_FrameSvg);
}

int sipPlasma_FrameSvg::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::FrameSvg::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_FrameSvg,_c,_id,_a);

    return _id;
}

void *sipPlasma_FrameSvg::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_FrameSvg,_clname)) ? this : Plasma::FrameSvg::qt_metacast(_clname);
}

bool sipPlasma_FrameSvg::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_FrameSvg::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_FrameSvg::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_FrameSvg::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_FrameSvg::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_FrameSvg::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_FrameSvg::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipPlasma_FrameSvg::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_FrameSvg::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_FrameSvg::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_FrameSvg::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_FrameSvg::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_FrameSvg::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_FrameSvg::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 20030 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 20072 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_setImagePath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_setImagePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_FrameSvg, &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_FrameSvg, sipName_setImagePath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_setEnabledBorders(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_setEnabledBorders(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabledBorders(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_setEnabledBorders, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_enabledBorders(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_enabledBorders(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders(sipCpp->enabledBorders());
            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_FrameSvg, sipName_enabledBorders, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_resizeFrame(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_resizeFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF * a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resizeFrame(*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_FrameSvg, sipName_resizeFrame, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_frameSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_frameSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->frameSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_frameSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_marginSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_marginSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::MarginEdge a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_Plasma_MarginEdge, &a0))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->marginSize(a0);
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_marginSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_getMargins(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_getMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getMargins(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_getMargins, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_contentsRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_contentsRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QRectF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->contentsRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_contentsRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_setElementPrefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_setElementPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Location a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_Plasma_Location, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setElementPrefix(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setElementPrefix(*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_FrameSvg, sipName_setElementPrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_hasElementPrefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_hasElementPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasElementPrefix(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        Plasma::Location a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_Plasma_Location, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasElementPrefix(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_hasElementPrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_prefix(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_prefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_mask(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_mask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QRegion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegion(sipCpp->mask());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_mask, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_alphaMask(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_alphaMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->alphaMask());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_alphaMask, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_setCacheAllRenderedFrames(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_setCacheAllRenderedFrames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCacheAllRenderedFrames(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_FrameSvg, sipName_setCacheAllRenderedFrames, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_cacheAllRenderedFrames(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_cacheAllRenderedFrames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cacheAllRenderedFrames();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_cacheAllRenderedFrames, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_clearCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_clearCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearCache();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_clearCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_framePixmap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_framePixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->framePixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_framePixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FrameSvg_paintFrame(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FrameSvg_paintFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter * a0;
        const QRectF * a1;
        const QRectF& a2def = QRectF();
        const QRectF * a2 = &a2def;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9|J9", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1, sipType_QRectF, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paintFrame(a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter * a0;
        const QPointF& a1def = QPointF(0,0);
        const QPointF * a1 = &a1def;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J9", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QPainter, &a0, sipType_QPointF, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paintFrame(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_FrameSvg, sipName_paintFrame, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_FrameSvg(void *, const sipTypeDef *);}
static void *cast_Plasma_FrameSvg(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_FrameSvg)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Svg)->ctd_cast((Plasma::Svg *)(Plasma::FrameSvg *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_FrameSvg(void *, int);}
static void release_Plasma_FrameSvg(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_FrameSvg *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::FrameSvg *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_FrameSvg(sipSimpleWrapper *);}
static void dealloc_Plasma_FrameSvg(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_FrameSvg *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_FrameSvg(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_FrameSvg(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_FrameSvg(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_FrameSvg *sipCpp = 0;

    {
        QObject * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_FrameSvg(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_FrameSvg[] = {{122, 255, 1}};


static PyMethodDef methods_Plasma_FrameSvg[] = {
    {SIP_MLNAME_CAST(sipName_alphaMask), meth_Plasma_FrameSvg_alphaMask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cacheAllRenderedFrames), meth_Plasma_FrameSvg_cacheAllRenderedFrames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_FrameSvg_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearCache), meth_Plasma_FrameSvg_clearCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_FrameSvg_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_Plasma_FrameSvg_contentsRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_FrameSvg_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_FrameSvg_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledBorders), meth_Plasma_FrameSvg_enabledBorders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_framePixmap), meth_Plasma_FrameSvg_framePixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameSize), meth_Plasma_FrameSvg_frameSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getMargins), meth_Plasma_FrameSvg_getMargins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasElementPrefix), meth_Plasma_FrameSvg_hasElementPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginSize), meth_Plasma_FrameSvg_marginSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mask), meth_Plasma_FrameSvg_mask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintFrame), meth_Plasma_FrameSvg_paintFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_Plasma_FrameSvg_prefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_FrameSvg_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeFrame), meth_Plasma_FrameSvg_resizeFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_FrameSvg_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCacheAllRenderedFrames), meth_Plasma_FrameSvg_setCacheAllRenderedFrames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setElementPrefix), meth_Plasma_FrameSvg_setElementPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabledBorders), meth_Plasma_FrameSvg_setEnabledBorders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImagePath), meth_Plasma_FrameSvg_setImagePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_FrameSvg_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_FrameSvg[] = {
    {sipName_AllBorders, Plasma::FrameSvg::AllBorders, 75},
    {sipName_BottomBorder, Plasma::FrameSvg::BottomBorder, 75},
    {sipName_LeftBorder, Plasma::FrameSvg::LeftBorder, 75},
    {sipName_NoBorder, Plasma::FrameSvg::NoBorder, 75},
    {sipName_RightBorder, Plasma::FrameSvg::RightBorder, 75},
    {sipName_TopBorder, Plasma::FrameSvg::TopBorder, 75},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_FrameSvg = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__FrameSvg,
        {0}
    },
    {
        sipNameNr_FrameSvg,
        {1, 255, 0},
        25, methods_Plasma_FrameSvg,
        6, enummembers_Plasma_FrameSvg,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_FrameSvg,
    0,
    init_Plasma_FrameSvg,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_FrameSvg,
    0,
    0,
    0,
    release_Plasma_FrameSvg,
    cast_Plasma_FrameSvg,
    0,
    0,
    0
},
    &Plasma::FrameSvg::staticMetaObject,
    0,
    0
};
