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

#include "sipAPIplasma.h"

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

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    const Plasma::Package* package() const;
    QString mainScript() const;
    bool init();

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(sipPySelf, sipType_Plasma_ScriptEngine, _clname)) ? this : Plasma::ScriptEngine::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const Plasma::ScriptEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->Plasma::ScriptEngine::mainScript() : sipCpp->mainScript()));
            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));

    {
        const Plasma::ScriptEngine *sipCpp;

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

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

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_ScriptEngine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{141, 0, 1}};


static PyMethodDef methods_Plasma_ScriptEngine[] = {
    {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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ScriptEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ScriptEngine,
        {0}
    },
    {
        sipNameNr_ScriptEngine,
        {1, 255, 0},
        3, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ScriptEngine::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

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


/* 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_type_Plasma_RunnerSyntax(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnermanager.sip"
#include <plasma/runnermanager.h>
#line 827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 834 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 837 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 843 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 846 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 855 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 861 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 867 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 873 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 876 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_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(sipPySelf, sipType_Plasma_RunnerManager, _clname)) ? this : Plasma::RunnerManager::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;

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


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_RunnerManager(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{141, 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_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_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_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}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_RunnerManager[] = {
    {"queryFinished()", 0, 0, 0},
    {"matchesChanged(QList<Plasma::QueryMatch>)", 0, 0, 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},
        25, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::RunnerManager::staticMetaObject,
    0,
    signals_Plasma_RunnerManager,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::RunnerContext::Types::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 2080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::RunnerContext::Types::Int() != a0->operator Plasma::RunnerContext::Types::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 2114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::RunnerContext::Types::Int() == a0->operator Plasma::RunnerContext::Types::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 2154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::RunnerContext::Types(*a0 ^ a1);
#line 2263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::RunnerContext::Types(*a0 | a1);
#line 2315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


/* 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_type_Plasma_RunnerContext_Types(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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 398 "/usr/share/python3-sip/PyQt4/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(int(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 2599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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_type_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,
    0,
    convertTo_Plasma_RunnerContext_Types,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2675 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 2691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_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(sipPySelf, sipType_Plasma_RunnerContext, _clname)) ? this : Plasma::RunnerContext::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


extern "C" {static PyObject *meth_Plasma_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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;

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


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_RunnerContext(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{141, 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_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_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_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_type), meth_Plasma_RunnerContext_type, METH_VARARGS, NULL}
};

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


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_RunnerContext[] = {
    {"matchesChanged()", 0, 0, 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},
        17, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::RunnerContext::staticMetaObject,
    0,
    signals_Plasma_RunnerContext,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 3568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 3572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 3578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 3581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 3590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

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


/* 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_type_Plasma_QueryMatch(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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, static_cast<int>(Plasma::QueryMatch::CompletionMatch), 104},
    {sipName_ExactMatch, static_cast<int>(Plasma::QueryMatch::ExactMatch), 104},
    {sipName_HelperMatch, static_cast<int>(Plasma::QueryMatch::HelperMatch), 104},
    {sipName_InformationalMatch, static_cast<int>(Plasma::QueryMatch::InformationalMatch), 104},
    {sipName_NoMatch, static_cast<int>(Plasma::QueryMatch::NoMatch), 104},
    {sipName_PossibleMatch, static_cast<int>(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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/popupapplet.sip"
#include <plasma/popupapplet.h>
#line 4516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 4544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 4574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 4577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 4583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 4589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 4598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 4601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 4604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 4607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 4610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 4613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 4619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 4634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 4643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 4649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 4652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 4655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 4658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 4661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 4694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 4727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 4736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 4757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 4760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 4775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 4778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    void constraintsEvent(Plasma::Constraints);
    void saveState(KConfigGroup&) const;
    void configChanged();
    void init();
    void showConfigurationInterface();
    void destroy();
    void createConfigurationInterface(KConfigDialog*);
    void initExtenderItem(Plasma::ExtenderItem*);
    void removeAssociatedWidget(QWidget*);
    void addAssociatedWidget(QWidget*);
    bool isPopupShowing() const;
    QList<QAction*> contextualActions();
    void paintInterface(QPainter*,const QStyleOptionGraphicsItem*,const QRect&);
    Plasma::Location location() const;
    Plasma::FormFactor formFactor() const;
    void restore(KConfigGroup&);
    void save(KConfigGroup&) const;
    void popupEvent(bool);
    QGraphicsWidget* graphicsWidget();
    QWidget* widget();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[84];
};

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(sipPySelf, sipType_Plasma_PopupApplet, _clname)) ? this : Plasma::PopupApplet::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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::PopupApplet::shape();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipPlasma_PopupApplet::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Constraints);

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

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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;

    {
        const 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;

    {
        const 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;

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

    {
        const 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;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::popupEvent(a0) : sipCpp->popupEvent(a0));
            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;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::PopupApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::PopupApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::PopupApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::PopupApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        const Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE|J9", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::PopupApplet::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

    {
        const 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;

    {
        const 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;
        Plasma::PopupApplet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PopupApplet, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PopupApplet::timerEvent(a0) : sipCpp->timerEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_PopupApplet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_dragEnterEvent), meth_Plasma_PopupApplet_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_PopupApplet_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_PopupApplet_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_PopupApplet_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicsWidget), meth_Plasma_PopupApplet_graphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hidePopup), meth_Plasma_PopupApplet_hidePopup, 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_mousePressEvent), meth_Plasma_PopupApplet_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_PopupApplet_mouseReleaseEvent, 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_setGraphicsWidget), meth_Plasma_PopupApplet_setGraphicsWidget, 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_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_widget), meth_Plasma_PopupApplet_widget, 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},
        25, 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_type_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,
    0,
    0,
    0
},
    &Plasma::PopupApplet::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/pluginloader.sip"
#include <plasma/pluginloader.h>
#line 7119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 7126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 7132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 7147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 7150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 7153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"


class sipPlasma_PluginLoader : public Plasma::PluginLoader
{
public:
    sipPlasma_PluginLoader();
    virtual ~sipPlasma_PluginLoader();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KPluginInfo::List internalServiceInfo() const;
    KPluginInfo::List internalRunnerInfo() const;
    KPluginInfo::List internalDataEngineInfo() const;
    KPluginInfo::List internalAppletInfo(const QString&) const;
    Plasma::Service* internalLoadService(const QString&,const QVariantList&,QObject*);
    Plasma::DataEngine* internalLoadDataEngine(const QString&);
    Plasma::AbstractRunner* internalLoadRunner(const QString&);
    Plasma::Applet* internalLoadApplet(const QString&,uint,const QVariantList&);

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

KPluginInfo::List sipPlasma_PluginLoader::internalServiceInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalServiceInfo();

    extern QList<KPluginInfo> sipVH_plasma_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

KPluginInfo::List sipPlasma_PluginLoader::internalRunnerInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalRunnerInfo();

    extern QList<KPluginInfo> sipVH_plasma_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

KPluginInfo::List sipPlasma_PluginLoader::internalDataEngineInfo() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalDataEngineInfo();

    extern QList<KPluginInfo> sipVH_plasma_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

KPluginInfo::List sipPlasma_PluginLoader::internalAppletInfo(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalAppletInfo(a0);

    extern QList<KPluginInfo> sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_plasma_11(sipGILState, 0, sipPySelf, 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[4],sipPySelf,NULL,sipName_internalLoadService);

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadService(a0,a1,a2);

    extern Plasma::Service* sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QList<QVariant>&,QObject*);

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

Plasma::DataEngine* sipPlasma_PluginLoader::internalLoadDataEngine(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadDataEngine(a0);

    extern Plasma::DataEngine* sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

Plasma::AbstractRunner* sipPlasma_PluginLoader::internalLoadRunner(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadRunner(a0);

    extern Plasma::AbstractRunner* sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

Plasma::Applet* sipPlasma_PluginLoader::internalLoadApplet(const QString& a0,uint a1,const QVariantList& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PluginLoader::internalLoadApplet(a0,a1,a2);

    extern Plasma::Applet* sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,uint,const QList<QVariant>&);

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


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;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1|uJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Applet*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalLoadApplet(*a0,a1,*a2) : sipCpp->internalLoadApplet(*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;
        Plasma::PluginLoader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalLoadRunner(*a0) : sipCpp->internalLoadRunner(*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;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalLoadDataEngine(*a0) : sipCpp->internalLoadDataEngine(*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;
        Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1|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 = (sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalLoadService(*a0,*a1,a2) : sipCpp->internalLoadService(*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;
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List((sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalAppletInfo(*a0) : sipCpp->internalAppletInfo(*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));

    {
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List((sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalDataEngineInfo() : sipCpp->internalDataEngineInfo()));
            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));

    {
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List((sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalRunnerInfo() : sipCpp->internalRunnerInfo()));
            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));

    {
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List((sipSelfWasArg ? sipCpp->Plasma::PluginLoader::internalServiceInfo() : sipCpp->internalServiceInfo()));
            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;
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->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;

    {
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->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;

    {
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->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;

    {
        const Plasma::PluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PluginLoader, &sipCpp))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(sipCpp->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;
}


/* 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_type_Plasma_PluginLoader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 92 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 8082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
    return NULL;
#line 8123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.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 8156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
}


sipMappedTypeDef sipTypeDef_plasma_QList_1411 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17352,
        {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 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 8187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 8203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 92 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 8206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 8209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void pathChanged();
    void createNewWidgetBrowser(QWidget*);
    bool uninstallPackage(const QString&,const QString&);
    bool installPackage(const QString&,const QString&);

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(sipPySelf, sipType_Plasma_PackageStructure, _clname)) ? this : Plasma::PackageStructure::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipPlasma_PackageStructure::pathChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::PackageStructure::pathChanged();
        return;
    }

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

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

void sipPlasma_PackageStructure::createNewWidgetBrowser(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::PackageStructure::createNewWidgetBrowser(a0);
        return;
    }

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

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

bool sipPlasma_PackageStructure::uninstallPackage(const QString& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PackageStructure::uninstallPackage(a0,a1);

    typedef bool (*sipVH_QtXml_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QString&);

    return ((sipVH_QtXml_1)(sipModuleAPI_plasma_QtXml->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PackageStructure::installPackage(const QString& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::PackageStructure::installPackage(a0,a1);

    typedef bool (*sipVH_QtXml_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QString&);

    return ((sipVH_QtXml_1)(sipModuleAPI_plasma_QtXml->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

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

    {
        const 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;
        const 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;
        const 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;
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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));

    {
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PackageStructure::pathChanged() : sipCpp->pathChanged());
            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;
        const 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;

    {
        const 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;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_PackageStructure, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_PackageStructure(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{141, 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_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_defaultPackageRoot), meth_Plasma_PackageStructure_defaultPackageRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directories), meth_Plasma_PackageStructure_directories, 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_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_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_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 signals. */
static const pyqt4QtSignal signals_Plasma_PackageStructure[] = {
    {"newWidgetBrowserFinished()", 0, 0, 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},
        35, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::PackageStructure::staticMetaObject,
    0,
    signals_Plasma_PackageStructure,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 9695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9699 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9702 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9705 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

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


/* 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_type_Plasma_PackageMetadata(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 10886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 10893 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 10896 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 10899 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10902 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;
        const 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;
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

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


/* 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_type_Plasma_Package(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/glapplet.sip"
#include <plasma/glapplet.h>
#line 11499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 11524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 11533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 11542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 11545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 11548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 11563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 11578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 11581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 11584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 11587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 11590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 11593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 11596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 11599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 11602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 11608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 11614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 11623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 11629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 11632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 11635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 11638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 11641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 11659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 11665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 11677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 11710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 11713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 11719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 11722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 11743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 11746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 11761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 11764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    void constraintsEvent(Plasma::Constraints);
    void saveState(KConfigGroup&) const;
    void configChanged();
    void init();
    void showConfigurationInterface();
    void destroy();
    void createConfigurationInterface(KConfigDialog*);
    void initExtenderItem(Plasma::ExtenderItem*);
    void removeAssociatedWidget(QWidget*);
    void addAssociatedWidget(QWidget*);
    bool isPopupShowing() const;
    QList<QAction*> contextualActions();
    Plasma::Location location() const;
    Plasma::FormFactor formFactor() const;
    void restore(KConfigGroup&);
    void save(KConfigGroup&) const;
    void paintGLInterface(QPainter*,const QStyleOptionGraphicsItem*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[81];
};

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(sipPySelf, sipType_Plasma_GLApplet, _clname)) ? this : Plasma::GLApplet::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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::GLApplet::type();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GLApplet::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::GLApplet::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GLApplet::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::GLApplet::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_GLApplet::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::GLApplet::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GLApplet::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::GLApplet::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GLApplet::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::GLApplet::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::GLApplet::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::GLApplet::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QRectF sipPlasma_GLApplet::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::GLApplet::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::GLApplet::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_GLApplet::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::GLApplet::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_GLApplet::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::GLApplet::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_constraintsEvent);

    if (!sipMeth)
    {
        Plasma::GLApplet::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Constraints);

    sipVH_plasma_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        Plasma::GLApplet::saveState(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_configChanged);

    if (!sipMeth)
    {
        Plasma::GLApplet::configChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::GLApplet::init();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_showConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::GLApplet::showConfigurationInterface();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_destroy);

    if (!sipMeth)
    {
        Plasma::GLApplet::destroy();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::createConfigurationInterface(KConfigDialog*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::GLApplet::createConfigurationInterface(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigDialog*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::initExtenderItem(Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_initExtenderItem);

    if (!sipMeth)
    {
        Plasma::GLApplet::initExtenderItem(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::ExtenderItem*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::removeAssociatedWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_removeAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::GLApplet::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::addAssociatedWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_addAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::GLApplet::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GLApplet::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_isPopupShowing);

    if (!sipMeth)
        return Plasma::GLApplet::isPopupShowing();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QList<QAction*> sipPlasma_GLApplet::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::GLApplet::contextualActions();

    typedef QList<QAction*> (*sipVH_QtGui_168)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState, 0, sipPySelf, sipMeth);
}

Plasma::Location sipPlasma_GLApplet::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,NULL,sipName_location);

    if (!sipMeth)
        return Plasma::GLApplet::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth);
}

Plasma::FormFactor sipPlasma_GLApplet::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_formFactor);

    if (!sipMeth)
        return Plasma::GLApplet::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GLApplet::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_restore);

    if (!sipMeth)
    {
        Plasma::GLApplet::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::GLApplet::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GLApplet::paintGLInterface(QPainter*a0,const QStyleOptionGraphicsItem*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_paintGLInterface);

    if (!sipMeth)
    {
        Plasma::GLApplet::paintGLInterface(a0,a1);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


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;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_paint(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_GLApplet, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_paintInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_paintInterface(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_GLApplet, sipName_paintInterface, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_GLApplet(void *, const sipTypeDef *);}
static void *cast_Plasma_GLApplet(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::GLApplet *sipCpp = reinterpret_cast<Plasma::GLApplet *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_GLApplet(void *, int);}
static void release_Plasma_GLApplet(void *sipCppV,int)
{
    Plasma::GLApplet *sipCpp = reinterpret_cast<Plasma::GLApplet *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_GLApplet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_deleteTexture), meth_Plasma_GLApplet_deleteTexture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCurrent), meth_Plasma_GLApplet_makeCurrent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_GLApplet_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintGLInterface), meth_Plasma_GLApplet_paintGLInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintInterface), meth_Plasma_GLApplet_paintInterface, 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},
        6, 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_type_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,
    0,
    0,
    0
},
    &Plasma::GLApplet::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 13486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 13490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::FrameSvg::EnabledBorders::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 13512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::FrameSvg::EnabledBorders::Int() != a0->operator Plasma::FrameSvg::EnabledBorders::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 13546 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::FrameSvg::EnabledBorders::Int() == a0->operator Plasma::FrameSvg::EnabledBorders::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 13586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::FrameSvg::EnabledBorders(*a0 ^ a1);
#line 13695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::FrameSvg::EnabledBorders(*a0 | a1);
#line 13747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


/* 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_type_Plasma_FrameSvg_EnabledBorders(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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 398 "/usr/share/python3-sip/PyQt4/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(int(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 14031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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_type_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,
    0,
    convertTo_Plasma_FrameSvg_EnabledBorders,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 14107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14117 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 14123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 14126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 14135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 14138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_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(sipPySelf, sipType_Plasma_FrameSvg, _clname)) ? this : Plasma::FrameSvg::qt_metacast(_clname);
}

void sipPlasma_FrameSvg::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::FrameSvg::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FrameSvg::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::FrameSvg::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FrameSvg::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::FrameSvg::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FrameSvg::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::FrameSvg::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FrameSvg::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::FrameSvg::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FrameSvg::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::FrameSvg::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_FrameSvg::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::FrameSvg::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_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;

    {
        const 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;

    {
        const 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;
        const 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;
        const 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;

    {
        const 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;
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        int a1State = 0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_Plasma_FrameSvg, &sipCpp, sipType_QPainter, &a0, sipType_QPointF, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paintFrame(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FrameSvg, sipName_paintFrame, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_FrameSvg(void *, int);}
static void release_Plasma_FrameSvg(void *sipCppV,int)
{
    Plasma::FrameSvg *sipCpp = reinterpret_cast<Plasma::FrameSvg *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_FrameSvg(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_clearCache), meth_Plasma_FrameSvg_clearCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_Plasma_FrameSvg_contentsRect, 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_resizeFrame), meth_Plasma_FrameSvg_resizeFrame, 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}
};

static sipEnumMemberDef enummembers_Plasma_FrameSvg[] = {
    {sipName_AllBorders, static_cast<int>(Plasma::FrameSvg::AllBorders), 75},
    {sipName_BottomBorder, static_cast<int>(Plasma::FrameSvg::BottomBorder), 75},
    {sipName_LeftBorder, static_cast<int>(Plasma::FrameSvg::LeftBorder), 75},
    {sipName_NoBorder, static_cast<int>(Plasma::FrameSvg::NoBorder), 75},
    {sipName_RightBorder, static_cast<int>(Plasma::FrameSvg::RightBorder), 75},
    {sipName_TopBorder, static_cast<int>(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},
        18, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::FrameSvg::staticMetaObject,
    0,
    0
};
