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

#include "sipAPIplasma.h"

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

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 19 "sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 22 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25 "sipplasmapart4.cpp"
#line 84 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "sipplasmapart4.cpp"
#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 49 "sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 52 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 55 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 58 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 61 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 64 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/signalplotter.sip"
#include <plasma/widgets/signalplotter.h>
#line 67 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 70 "sipplasmapart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 73 "sipplasmapart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 76 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 79 "sipplasmapart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 110 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 113 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 116 "sipplasmapart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 119 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 122 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 125 "sipplasmapart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 131 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 134 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 137 "sipplasmapart4.cpp"


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

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

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

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

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

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

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

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

    return _id;
}

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipPlasma_RunnerContext *sipCpp;

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

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 396 "sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_RunnerContext *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_Plasma_RunnerContext,&sipCpp,sipType_QString,&a0,&a0State,sipType_QList_0200Plasma_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_0200Plasma_QueryMatch,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::RunnerContext *sipCpp;

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_RunnerContext)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_RunnerContext(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

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

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

    if (!sipCpp)
    {
        Plasma::RunnerContext * a0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|JH",sipType_Plasma_RunnerContext,&a0,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_RunnerContext(*a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_Plasma_RunnerContext[] = {
    {SIP_MLNAME_CAST(sipName_addMatch), meth_Plasma_RunnerContext_addMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMatches), meth_Plasma_RunnerContext_addMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_RunnerContext_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_RunnerContext_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_RunnerContext_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_RunnerContext_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_RunnerContext_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_Plasma_RunnerContext_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_matches), meth_Plasma_RunnerContext_matches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_Plasma_RunnerContext_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_query), meth_Plasma_RunnerContext_query, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_RunnerContext_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_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_timerEvent), meth_Plasma_RunnerContext_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_RunnerContext_type, METH_VARARGS, NULL}
};

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


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


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

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

#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 1099 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1102 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1105 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1108 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1111 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1114 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 1117 "sipplasmapart4.cpp"


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

    {
        qreal a0;
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::QueryMatch *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


extern "C" {static PyObject *slot_Plasma_QueryMatch___ge__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const Plasma::QueryMatch * a0;

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

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


extern "C" {static PyObject *slot_Plasma_QueryMatch___lt__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const Plasma::QueryMatch * a0;

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

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


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_QueryMatch(sipSimpleWrapper *);}
static void dealloc_Plasma_QueryMatch(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_QueryMatch(sipSelf->u.cppPtr,0);
    }
}


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

    if (!sipCpp)
    {
        Plasma::AbstractRunner * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_Plasma_AbstractRunner,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::QueryMatch(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const Plasma::QueryMatch * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Plasma_QueryMatch,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::QueryMatch(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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


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

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


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

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

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1972 "sipplasmapart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 2003 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 2006 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2009 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2012 "sipplasmapart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2015 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 2018 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2021 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2024 "sipplasmapart4.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2027 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2030 "sipplasmapart4.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2033 "sipplasmapart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2036 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2039 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2042 "sipplasmapart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2045 "sipplasmapart4.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2048 "sipplasmapart4.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 2051 "sipplasmapart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2054 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 2059 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2062 "sipplasmapart4.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2065 "sipplasmapart4.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2068 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 2071 "sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2074 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 2077 "sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 2080 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 2083 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 2086 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 2089 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2092 "sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 2095 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2098 "sipplasmapart4.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2159 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 2162 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2165 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 2168 "sipplasmapart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2173 "sipplasmapart4.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2176 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 2179 "sipplasmapart4.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2182 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 2185 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 2188 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 2191 "sipplasmapart4.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 2194 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 2199 "sipplasmapart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 2202 "sipplasmapart4.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 2205 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 2208 "sipplasmapart4.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 2211 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 2216 "sipplasmapart4.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 2221 "sipplasmapart4.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 2226 "sipplasmapart4.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 2231 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 2234 "sipplasmapart4.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 2237 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 2240 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 2243 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 2246 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2249 "sipplasmapart4.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2252 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 2255 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 2258 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2261 "sipplasmapart4.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2314 "sipplasmapart4.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2317 "sipplasmapart4.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 2320 "sipplasmapart4.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2323 "sipplasmapart4.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2326 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 2329 "sipplasmapart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2332 "sipplasmapart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2335 "sipplasmapart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 2338 "sipplasmapart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2341 "sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 2344 "sipplasmapart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2347 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2350 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 2353 "sipplasmapart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 2356 "sipplasmapart4.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 2359 "sipplasmapart4.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 2362 "sipplasmapart4.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 2365 "sipplasmapart4.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 2368 "sipplasmapart4.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2383 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 2386 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 2389 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 2392 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 2395 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 2398 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 2401 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 2404 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/context.sip"
#include <plasma/context.h>
#line 2407 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2410 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/package.sip"
#include <plasma/package.h>
#line 2413 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 2416 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 2419 "sipplasmapart4.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2422 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 2425 "sipplasmapart4.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2428 "sipplasmapart4.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2431 "sipplasmapart4.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2434 "sipplasmapart4.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2437 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2440 "sipplasmapart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2443 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2446 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2449 "sipplasmapart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 2452 "sipplasmapart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2455 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2458 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2461 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2464 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 2467 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 2470 "sipplasmapart4.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2473 "sipplasmapart4.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2476 "sipplasmapart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2481 "sipplasmapart4.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2484 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 2487 "sipplasmapart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2490 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2493 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2496 "sipplasmapart4.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2499 "sipplasmapart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 2502 "sipplasmapart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 2505 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2508 "sipplasmapart4.cpp"


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

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[80];
};

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

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

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

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

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

    return _id;
}

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

QWidget * sipPlasma_PopupApplet::widget()
{
    typedef QWidget * (*sipVH_QtGui_105)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_105)(sipModuleAPI_plasma_QtGui->em_virthandlers[105]))(sipGILState,meth);
}

QGraphicsWidget * sipPlasma_PopupApplet::graphicsWidget()
{
    extern QGraphicsWidget * sipVH_plasma_8(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_plasma_8(sipGILState,meth);
}

void sipPlasma_PopupApplet::popupEvent(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtNetwork_2)(sipModuleAPI_plasma_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::save(KConfigGroup& a0) const
{
    typedef void (*sipVH_kdeui_33)(sip_gilstate_t,PyObject *,KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_kdeui_33)(sipModuleAPI_plasma_kdeui->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::restore(KConfigGroup& a0)
{
    typedef void (*sipVH_kdeui_33)(sip_gilstate_t,PyObject *,KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_kdeui_33)(sipModuleAPI_plasma_kdeui->em_virthandlers[33]))(sipGILState,meth,a0);
}

Plasma::FormFactor sipPlasma_PopupApplet::formFactor() const
{
    extern Plasma::FormFactor sipVH_plasma_18(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_plasma_18(sipGILState,meth);
}

Plasma::Location sipPlasma_PopupApplet::location() const
{
    extern Plasma::Location sipVH_plasma_17(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_plasma_17(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_plasma_7(sipGILState,meth,a0,a1,a2);
}

QList<QAction *> sipPlasma_PopupApplet::contextualActions()
{
    typedef QList<QAction *> (*sipVH_QtGui_163)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_163)(sipModuleAPI_plasma_QtGui->em_virthandlers[163]))(sipGILState,meth);
}

bool sipPlasma_PopupApplet::isPopupShowing() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_1)(sipModuleAPI_plasma_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipPlasma_PopupApplet::addAssociatedWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::removeAssociatedWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::initExtenderItem(Plasma::ExtenderItem *a0)
{
    extern void sipVH_plasma_11(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_plasma_11(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::createConfigurationInterface(KConfigDialog *a0)
{
    extern void sipVH_plasma_16(sip_gilstate_t,PyObject *,KConfigDialog *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_plasma_16(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::destroy()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::showConfigurationInterface()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::init()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::configChanged()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::saveState(KConfigGroup& a0) const
{
    typedef void (*sipVH_kdeui_33)(sip_gilstate_t,PyObject *,KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_kdeui_33)(sipModuleAPI_plasma_kdeui->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::constraintsEvent(Plasma::Constraints a0)
{
    extern void sipVH_plasma_6(sip_gilstate_t,PyObject *,Plasma::Constraints);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Plasma::Applet::constraintsEvent(a0);
        return;
    }

    sipVH_plasma_6(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,meth,a0,a1,a2,a3);
}

int sipPlasma_PopupApplet::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return Plasma::Applet::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipPlasma_PopupApplet::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        Plasma::Applet::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_PopupApplet::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::boundingRect();

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

QPainterPath sipPlasma_PopupApplet::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return Plasma::Applet::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_PopupApplet::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return Plasma::Applet::sizeHint(a0,a1);

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

void sipPlasma_PopupApplet::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_updateGeometry);

    if (!meth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return Plasma::Applet::itemChange(a0,a1);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,meth,a0,a1);
}

QVariant sipPlasma_PopupApplet::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_PopupApplet::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_sceneEvent);

    if (!meth)
        return QGraphicsWidget::sceneEvent(a0);

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

bool sipPlasma_PopupApplet::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!meth)
        return QGraphicsWidget::windowFrameEvent(a0);

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

Qt::WindowFrameSection sipPlasma_PopupApplet::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    return ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

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

void sipPlasma_PopupApplet::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        Plasma::Applet::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

bool sipPlasma_PopupApplet::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsWidget::focusNextPrevChild(a0);

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

void sipPlasma_PopupApplet::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

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

void sipPlasma_PopupApplet::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_polishEvent);

    if (!meth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

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

void sipPlasma_PopupApplet::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::Applet::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        Plasma::Applet::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

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

void sipPlasma_PopupApplet::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

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

void sipPlasma_PopupApplet::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

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

void sipPlasma_PopupApplet::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PopupApplet::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_PopupApplet::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsItem::contains(a0);

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsItem::collidesWithItem(a0,a1);

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsItem::collidesWithPath(a0,a1);

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

bool sipPlasma_PopupApplet::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsItem::isObscuredBy(a0);

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_PopupApplet::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_PopupApplet::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_dragEnterEvent);

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

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_dragLeaveEvent);

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

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_dropEvent);

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

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        Plasma::Applet::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_PopupApplet::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsItem::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        Plasma::Applet::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_mousePressEvent);

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

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_mouseReleaseEvent);

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

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return Plasma::Applet::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_PopupApplet::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_PopupApplet::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_PopupApplet::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_PopupApplet::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_PopupApplet::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_PopupApplet::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_PopupApplet::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

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

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

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

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

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

void sipPlasma_PopupApplet::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_PopupApplet::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_PopupApplet::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_PopupApplet::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_PopupApplet::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_PopupApplet::sipProtect_setFailedToLaunch(bool a0,const QString& a1)
{
    Plasma::Applet::setFailedToLaunch(a0,a1);
}

void sipPlasma_PopupApplet::sipProtectVirt_saveState(bool sipSelfWasArg,KConfigGroup& a0) const
{
    (sipSelfWasArg ? Plasma::Applet::saveState(a0) : saveState(a0));
}

void sipPlasma_PopupApplet::sipProtect_setHasConfigurationInterface(bool a0)
{
    Plasma::Applet::setHasConfigurationInterface(a0);
}

void sipPlasma_PopupApplet::sipProtect_setConfigurationRequired(bool a0,const QString& a1)
{
    Plasma::Applet::setConfigurationRequired(a0,a1);
}

void sipPlasma_PopupApplet::sipProtect_showMessage(const QIcon& a0,const QString& a1,const Plasma::MessageButtons a2)
{
    Plasma::Applet::showMessage(a0,a1,a2);
}

void sipPlasma_PopupApplet::sipProtectVirt_constraintsEvent(bool sipSelfWasArg,Plasma::Constraints a0)
{
    (sipSelfWasArg ? Plasma::Applet::constraintsEvent(a0) : constraintsEvent(a0));
}

void sipPlasma_PopupApplet::sipProtect_registerAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::registerAsDragHandle(a0);
}

void sipPlasma_PopupApplet::sipProtect_unregisterAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::unregisterAsDragHandle(a0);
}

bool sipPlasma_PopupApplet::sipProtect_isRegisteredAsDragHandle(QGraphicsItem *a0)
{
    return Plasma::Applet::isRegisteredAsDragHandle(a0);
}

Plasma::Extender * sipPlasma_PopupApplet::sipProtect_extender() const
{
    return Plasma::Applet::extender();
}

bool sipPlasma_PopupApplet::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::resizeEvent(a0) : resizeEvent(a0));
}

QVariant sipPlasma_PopupApplet::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? Plasma::Applet::itemChange(a0,a1) : itemChange(a0,a1));
}

QPainterPath sipPlasma_PopupApplet::sipProtectVirt_shape(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::Applet::shape() : shape());
}

QSizeF sipPlasma_PopupApplet::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? Plasma::Applet::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_popupEvent(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::popupEvent(a0) : popupEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

bool sipPlasma_PopupApplet::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::PopupApplet::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipPlasma_PopupApplet::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_PopupApplet::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::PopupApplet::dropEvent(a0) : dropEvent(a0));
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::InputMethodQuery a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_PopupApplet *sipCpp;

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

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 4726 "sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QStyleOption * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_propertyChange(sipSelfWasArg,*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QPointF * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb|J1",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFailedToLaunch(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfigGroup * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHasConfigurationInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb|J1",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QIcon * a0;
        const QString * a1;
        int a1State = 0;
        const Plasma::MessageButtons * a2;
        int a2State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J1J1",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QIcon,&a0,sipType_QString,&a1,&a1State,sipType_Plasma_MessageButtons,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_Plasma_Constraints,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_constraintsEvent(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_registerAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_unregisterAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_extender();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_PopupApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsItem_GraphicsItemChange,&a0,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

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

    return NULL;
}


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

    {
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(sipCpp->sipProtectVirt_shape(sipSelfWasArg));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_PopupApplet *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        QGraphicsWidget * a0;
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        uint a0 = 0;
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PopupApplet *sipCpp;

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_popupEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_PopupApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_PopupApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PopupApplet,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_PopupApplet)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Applet)->ctd_cast((Plasma::Applet *)(Plasma::PopupApplet *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_PopupApplet *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::PopupApplet *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PopupApplet(sipSimpleWrapper *);}
static void dealloc_Plasma_PopupApplet(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_PopupApplet *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PopupApplet(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_PopupApplet(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_PopupApplet(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_PopupApplet *sipCpp = 0;

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_PopupApplet[] = {{10, 255, 1}};


static PyMethodDef methods_Plasma_PopupApplet[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_PopupApplet_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_PopupApplet_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_PopupApplet_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_PopupApplet_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_PopupApplet_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_PopupApplet_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_PopupApplet_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_PopupApplet_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_PopupApplet_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_PopupApplet_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_PopupApplet_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_PopupApplet_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_PopupApplet_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_PopupApplet_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_PopupApplet_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_PopupApplet_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_PopupApplet_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_PopupApplet_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_PopupApplet_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_PopupApplet_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicsWidget), meth_Plasma_PopupApplet_graphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_PopupApplet_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hidePopup), meth_Plasma_PopupApplet_hidePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_PopupApplet_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_PopupApplet_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_PopupApplet_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_PopupApplet_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_PopupApplet_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_PopupApplet_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPassivePopup), meth_Plasma_PopupApplet_isPassivePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPopupShowing), meth_Plasma_PopupApplet_isPopupShowing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_PopupApplet_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_PopupApplet_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_PopupApplet_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_PopupApplet_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_PopupApplet_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_PopupApplet_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_PopupApplet_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_PopupApplet_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_PopupApplet_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_PopupApplet_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupEvent), meth_Plasma_PopupApplet_popupEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupIcon), meth_Plasma_PopupApplet_popupIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupPlacement), meth_Plasma_PopupApplet_popupPlacement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_PopupApplet_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_PopupApplet_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_PopupApplet_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_PopupApplet_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_PopupApplet_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_PopupApplet_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_PopupApplet_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_PopupApplet_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_PopupApplet_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_PopupApplet_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_PopupApplet_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsWidget), meth_Plasma_PopupApplet_setGraphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_PopupApplet_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_PopupApplet_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPassivePopup), meth_Plasma_PopupApplet_setPassivePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPopupIcon), meth_Plasma_PopupApplet_setPopupIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_Plasma_PopupApplet_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_PopupApplet_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_PopupApplet_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_PopupApplet_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPopup), meth_Plasma_PopupApplet_showPopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_PopupApplet_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_PopupApplet_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_togglePopup), meth_Plasma_PopupApplet_togglePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_PopupApplet_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_PopupApplet_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_PopupApplet_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_PopupApplet_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_PopupApplet_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_Plasma_PopupApplet_widget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_PopupApplet_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_PopupApplet_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_PopupApplet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__PopupApplet,
        {0}
    },
    sipNameNr_PopupApplet,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_PopupApplet,
    0,
    76, methods_Plasma_PopupApplet,
    0, 0,
    0, 0,
    init_Plasma_PopupApplet,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PopupApplet,
    release_Plasma_PopupApplet,
    cast_Plasma_PopupApplet,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::PopupApplet::staticMetaObject,
    0,
    0
};




extern "C" {static int slot_Plasma_MessageButtons___bool__(PyObject *sipSelf);}
static int slot_Plasma_MessageButtons___bool__(PyObject *sipSelf)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 6791 "sipplasmapart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::MessageButtons * a0;
        int a0State = 0;

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

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 6819 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::MessageButtons *>(a0),sipType_Plasma_MessageButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_MessageButtons___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::MessageButtons * a0;
        int a0State = 0;

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

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 6851 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::MessageButtons *>(a0),sipType_Plasma_MessageButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_MessageButtons___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_MessageButtons___invert__(PyObject *sipSelf)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::MessageButtons *sipRes;

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

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


extern "C" {static PyObject *slot_Plasma_MessageButtons___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_MessageButtons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::MessageButtons * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_MessageButtons,&a0,&a0State,&a1))
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_MessageButtons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_MessageButtons,&a0,&a0State,sipType_Plasma_MessageButtons,&a1,&a1State))
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);
            sipReleaseType(a1,sipType_Plasma_MessageButtons,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_MessageButtons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_MessageButtons,&a0,&a0State,sipType_Plasma_MessageButtons,&a1,&a1State))
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);
            sipReleaseType(a1,sipType_Plasma_MessageButtons,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_MessageButtons___int__(PyObject *sipSelf)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_MessageButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_MessageButtons,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::MessageButtons::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_MessageButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_MessageButtons,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::MessageButtons::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_MessageButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_MessageButtons(void *, const void*);}
static void assign_Plasma_MessageButtons(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::MessageButtons *>(sipDst) = *reinterpret_cast<const Plasma::MessageButtons *>(sipSrc);
}


extern "C" {static void dealloc_Plasma_MessageButtons(sipSimpleWrapper *);}
static void dealloc_Plasma_MessageButtons(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_MessageButtons(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_MessageButtons(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_MessageButtons(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::MessageButtons *sipCpp = 0;

    if (!sipCpp)
    {
        const Plasma::MessageButtons * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_MessageButtons,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::MessageButtons(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::MessageButtons *>(a0),sipType_Plasma_MessageButtons,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::MessageButtons(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::MessageButtons();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_MessageButton)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_MessageButtons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_MessageButton)))
{
    *sipCppPtr = new Plasma::MessageButtons(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::MessageButtons *>(sipConvertToType(sipPy, sipType_Plasma_MessageButtons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 7222 "sipplasmapart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_MessageButtons[] = {
    {(void *)slot_Plasma_MessageButtons___bool__, bool_slot},
    {(void *)slot_Plasma_MessageButtons___ne__, ne_slot},
    {(void *)slot_Plasma_MessageButtons___eq__, eq_slot},
    {(void *)slot_Plasma_MessageButtons___invert__, invert_slot},
    {(void *)slot_Plasma_MessageButtons___and__, and_slot},
    {(void *)slot_Plasma_MessageButtons___xor__, xor_slot},
    {(void *)slot_Plasma_MessageButtons___or__, or_slot},
    {(void *)slot_Plasma_MessageButtons___int__, int_slot},
    {(void *)slot_Plasma_MessageButtons___ixor__, ixor_slot},
    {(void *)slot_Plasma_MessageButtons___ior__, ior_slot},
    {(void *)slot_Plasma_MessageButtons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_MessageButtons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__MessageButtons,
        {0}
    },
    sipNameNr_MessageButtons,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    slots_Plasma_MessageButtons,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_MessageButtons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_MessageButtons,
    release_Plasma_MessageButtons,
    cast_Plasma_MessageButtons,
    convertTo_Plasma_MessageButtons,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_MessageButtons,
    0,
    1,
    0
};




extern "C" {static int slot_Plasma_ComponentTypes___bool__(PyObject *sipSelf);}
static int slot_Plasma_ComponentTypes___bool__(PyObject *sipSelf)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 7306 "sipplasmapart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

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

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 7334 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::ComponentTypes *>(a0),sipType_Plasma_ComponentTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_ComponentTypes___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

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

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 7366 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::ComponentTypes *>(a0),sipType_Plasma_ComponentTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_ComponentTypes___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_ComponentTypes___invert__(PyObject *sipSelf)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::ComponentTypes *sipRes;

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

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


extern "C" {static PyObject *slot_Plasma_ComponentTypes___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_ComponentTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_ComponentTypes,&a0,&a0State,&a1))
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_ComponentTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_ComponentTypes,&a0,&a0State,sipType_Plasma_ComponentTypes,&a1,&a1State))
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);
            sipReleaseType(a1,sipType_Plasma_ComponentTypes,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_ComponentTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_ComponentTypes,&a0,&a0State,sipType_Plasma_ComponentTypes,&a1,&a1State))
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);
            sipReleaseType(a1,sipType_Plasma_ComponentTypes,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_ComponentTypes___int__(PyObject *sipSelf)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_ComponentTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_ComponentTypes,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::ComponentTypes::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_ComponentTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_ComponentTypes,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::ComponentTypes::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_ComponentTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_ComponentTypes(void *, const void*);}
static void assign_Plasma_ComponentTypes(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::ComponentTypes *>(sipDst) = *reinterpret_cast<const Plasma::ComponentTypes *>(sipSrc);
}


extern "C" {static void dealloc_Plasma_ComponentTypes(sipSimpleWrapper *);}
static void dealloc_Plasma_ComponentTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ComponentTypes(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_ComponentTypes(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_ComponentTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::ComponentTypes *sipCpp = 0;

    if (!sipCpp)
    {
        const Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_ComponentTypes,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ComponentTypes(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::ComponentTypes *>(a0),sipType_Plasma_ComponentTypes,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ComponentTypes(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ComponentTypes();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_ComponentType)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_ComponentTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_ComponentType)))
{
    *sipCppPtr = new Plasma::ComponentTypes(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::ComponentTypes *>(sipConvertToType(sipPy, sipType_Plasma_ComponentTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 7737 "sipplasmapart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_ComponentTypes[] = {
    {(void *)slot_Plasma_ComponentTypes___bool__, bool_slot},
    {(void *)slot_Plasma_ComponentTypes___ne__, ne_slot},
    {(void *)slot_Plasma_ComponentTypes___eq__, eq_slot},
    {(void *)slot_Plasma_ComponentTypes___invert__, invert_slot},
    {(void *)slot_Plasma_ComponentTypes___and__, and_slot},
    {(void *)slot_Plasma_ComponentTypes___xor__, xor_slot},
    {(void *)slot_Plasma_ComponentTypes___or__, or_slot},
    {(void *)slot_Plasma_ComponentTypes___int__, int_slot},
    {(void *)slot_Plasma_ComponentTypes___ixor__, ixor_slot},
    {(void *)slot_Plasma_ComponentTypes___ior__, ior_slot},
    {(void *)slot_Plasma_ComponentTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_ComponentTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__ComponentTypes,
        {0}
    },
    sipNameNr_ComponentTypes,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    slots_Plasma_ComponentTypes,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_ComponentTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ComponentTypes,
    release_Plasma_ComponentTypes,
    cast_Plasma_ComponentTypes,
    convertTo_Plasma_ComponentTypes,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_ComponentTypes,
    0,
    1,
    0
};




extern "C" {static int slot_Plasma_Flip___bool__(PyObject *sipSelf);}
static int slot_Plasma_Flip___bool__(PyObject *sipSelf)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 7821 "sipplasmapart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Flip___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::Flip * a0;
        int a0State = 0;

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

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 7849 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::Flip *>(a0),sipType_Plasma_Flip,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_Flip___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::Flip * a0;
        int a0State = 0;

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

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 7881 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::Flip *>(a0),sipType_Plasma_Flip,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_Flip___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Flip___invert__(PyObject *sipSelf)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Flip *sipRes;

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

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


extern "C" {static PyObject *slot_Plasma_Flip___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Flip___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::Flip * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_Flip,&a0,&a0State,&a1))
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Flip,a0State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Flip___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Flip___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_Flip,&a0,&a0State,sipType_Plasma_Flip,&a1,&a1State))
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Flip,a0State);
            sipReleaseType(a1,sipType_Plasma_Flip,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Flip___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Flip___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_Flip,&a0,&a0State,sipType_Plasma_Flip,&a1,&a1State))
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Flip,a0State);
            sipReleaseType(a1,sipType_Plasma_Flip,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Flip___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Flip___int__(PyObject *sipSelf)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Flip___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Flip)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Flip,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Flip::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Flip,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Flip___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Flip)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Flip,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Flip::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Flip,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Flip___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Flip)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Flip(void *, const void*);}
static void assign_Plasma_Flip(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::Flip *>(sipDst) = *reinterpret_cast<const Plasma::Flip *>(sipSrc);
}


extern "C" {static void dealloc_Plasma_Flip(sipSimpleWrapper *);}
static void dealloc_Plasma_Flip(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Flip(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_Flip(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_Flip(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::Flip *sipCpp = 0;

    if (!sipCpp)
    {
        const Plasma::Flip * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_Flip,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Flip(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::Flip *>(a0),sipType_Plasma_Flip,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Flip(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Flip();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FlipDirection)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Flip, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FlipDirection)))
{
    *sipCppPtr = new Plasma::Flip(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Flip *>(sipConvertToType(sipPy, sipType_Plasma_Flip, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8252 "sipplasmapart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Flip[] = {
    {(void *)slot_Plasma_Flip___bool__, bool_slot},
    {(void *)slot_Plasma_Flip___ne__, ne_slot},
    {(void *)slot_Plasma_Flip___eq__, eq_slot},
    {(void *)slot_Plasma_Flip___invert__, invert_slot},
    {(void *)slot_Plasma_Flip___and__, and_slot},
    {(void *)slot_Plasma_Flip___xor__, xor_slot},
    {(void *)slot_Plasma_Flip___or__, or_slot},
    {(void *)slot_Plasma_Flip___int__, int_slot},
    {(void *)slot_Plasma_Flip___ixor__, ixor_slot},
    {(void *)slot_Plasma_Flip___ior__, ior_slot},
    {(void *)slot_Plasma_Flip___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Flip = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Flip,
        {0}
    },
    sipNameNr_Flip,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    slots_Plasma_Flip,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_Flip,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Flip,
    release_Plasma_Flip,
    cast_Plasma_Flip,
    convertTo_Plasma_Flip,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_Flip,
    0,
    1,
    0
};




extern "C" {static int slot_Plasma_Constraints___bool__(PyObject *sipSelf);}
static int slot_Plasma_Constraints___bool__(PyObject *sipSelf)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 8336 "sipplasmapart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Constraints___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::Constraints * a0;
        int a0State = 0;

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

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 8364 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::Constraints *>(a0),sipType_Plasma_Constraints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_Constraints___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::Constraints * a0;
        int a0State = 0;

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

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 8396 "sipplasmapart4.cpp"

            sipReleaseType(const_cast<Plasma::Constraints *>(a0),sipType_Plasma_Constraints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_Constraints___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Constraints___invert__(PyObject *sipSelf)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Constraints *sipRes;

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

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


extern "C" {static PyObject *slot_Plasma_Constraints___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Constraints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_Constraints,&a0,&a0State,&a1))
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Constraints___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Constraints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_Constraints,&a0,&a0State,sipType_Plasma_Constraints,&a1,&a1State))
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);
            sipReleaseType(a1,sipType_Plasma_Constraints,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Constraints___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Constraints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

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

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_Constraints,&a0,&a0State,sipType_Plasma_Constraints,&a1,&a1State))
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);
            sipReleaseType(a1,sipType_Plasma_Constraints,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Constraints___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Constraints___int__(PyObject *sipSelf)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Constraints___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Constraints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Constraints,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Constraints::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Constraints___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Constraints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Constraints,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Constraints::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Constraints___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Constraints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Constraints(void *, const void*);}
static void assign_Plasma_Constraints(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::Constraints *>(sipDst) = *reinterpret_cast<const Plasma::Constraints *>(sipSrc);
}


extern "C" {static void dealloc_Plasma_Constraints(sipSimpleWrapper *);}
static void dealloc_Plasma_Constraints(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Constraints(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_Constraints(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_Constraints(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::Constraints *sipCpp = 0;

    if (!sipCpp)
    {
        const Plasma::Constraints * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_Constraints,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Constraints(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::Constraints *>(a0),sipType_Plasma_Constraints,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Constraints(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Constraints();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Constraint)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Constraints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Constraint)))
{
    *sipCppPtr = new Plasma::Constraints(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Constraints *>(sipConvertToType(sipPy, sipType_Plasma_Constraints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8767 "sipplasmapart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Constraints[] = {
    {(void *)slot_Plasma_Constraints___bool__, bool_slot},
    {(void *)slot_Plasma_Constraints___ne__, ne_slot},
    {(void *)slot_Plasma_Constraints___eq__, eq_slot},
    {(void *)slot_Plasma_Constraints___invert__, invert_slot},
    {(void *)slot_Plasma_Constraints___and__, and_slot},
    {(void *)slot_Plasma_Constraints___xor__, xor_slot},
    {(void *)slot_Plasma_Constraints___or__, or_slot},
    {(void *)slot_Plasma_Constraints___int__, int_slot},
    {(void *)slot_Plasma_Constraints___ixor__, ixor_slot},
    {(void *)slot_Plasma_Constraints___ior__, ior_slot},
    {(void *)slot_Plasma_Constraints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Constraints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Constraints,
        {0}
    },
    sipNameNr_Constraints,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    slots_Plasma_Constraints,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_Constraints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Constraints,
    release_Plasma_Constraints,
    cast_Plasma_Constraints,
    convertTo_Plasma_Constraints,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_Constraints,
    0,
    1,
    0
};


#line 46 "/usr/local/share/py-sip/QtGui/qimage.sip"
#include <qimage.h>
#line 8836 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 8839 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 8844 "sipplasmapart4.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8847 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 8850 "sipplasmapart4.cpp"


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

    {
        const QPixmap * a0;
        const QPixmap * a1;
        qreal a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9d",sipType_QPixmap,&a0,sipType_QPixmap,&a1,&a2))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(Plasma::PaintUtils::transition(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QRectF * a0;
        qreal a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9d",sipType_QRectF,&a0,&a1))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(Plasma::PaintUtils::roundedRectangle(*a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QImage * a0;
        int a1;
        const QColor * a2;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9iJ1",sipType_QImage,&a0,&a1,sipType_QColor,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            Plasma::PaintUtils::shadowBlur(*a0,a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QColor *>(a2),sipType_QColor,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


static PyMethodDef methods_Plasma_PaintUtils[] = {
    {SIP_MLNAME_CAST(sipName_roundedRectangle), meth_Plasma_PaintUtils_roundedRectangle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowBlur), meth_Plasma_PaintUtils_shadowBlur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_transition), meth_Plasma_PaintUtils_transition, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_PaintUtils = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Plasma__PaintUtils,
        {0}
    },
    sipNameNr_PaintUtils,
    -1,
    -1,
    {1, 255, 0},
    0,
    0,
    3, methods_Plasma_PaintUtils,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 84 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9013 "sipplasmapart4.cpp"

#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 9017 "sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 9020 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 9023 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 9026 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 9029 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 9032 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 9035 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/signalplotter.sip"
#include <plasma/widgets/signalplotter.h>
#line 9038 "sipplasmapart4.cpp"


extern "C" {static void assign_QList_0200Plasma_PlotColor(void *, const void*);}
static void assign_QList_0200Plasma_PlotColor(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::PlotColor> *>(sipDst) = *reinterpret_cast<const QList<Plasma::PlotColor> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Plasma_PlotColor(void *, int);}
static void release_QList_0200Plasma_PlotColor(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::PlotColor> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_PlotColor, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::PlotColor> *ql = new QList<Plasma::PlotColor>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Plasma::PlotColor *t = reinterpret_cast<Plasma::PlotColor *>(sipConvertToType(itm, sipType_Plasma_PlotColor, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Plasma_PlotColor, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Plasma_PlotColor, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9114 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Plasma_PlotColor(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Plasma_PlotColor(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::PlotColor> *sipCpp = reinterpret_cast<QList<Plasma::PlotColor> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::PlotColor *t = new Plasma::PlotColor(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Plasma_PlotColor, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9148 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0200Plasma_PlotColor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2048,
        {0}
    },
    release_QList_0200Plasma_PlotColor,
    convertTo_QList_0200Plasma_PlotColor,
    convertFrom_QList_0200Plasma_PlotColor
},
    assign_QList_0200Plasma_PlotColor
};


extern "C" {static void assign_QList_0200Plasma_QueryMatch(void *, const void*);}
static void assign_QList_0200Plasma_QueryMatch(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::QueryMatch> *>(sipDst) = *reinterpret_cast<const QList<Plasma::QueryMatch> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Plasma_QueryMatch(void *, int);}
static void release_QList_0200Plasma_QueryMatch(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::QueryMatch> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_QueryMatch, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::QueryMatch> *ql = new QList<Plasma::QueryMatch>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Plasma::QueryMatch *t = reinterpret_cast<Plasma::QueryMatch *>(sipConvertToType(itm, sipType_Plasma_QueryMatch, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Plasma_QueryMatch, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Plasma_QueryMatch, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9243 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Plasma_QueryMatch(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Plasma_QueryMatch(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::QueryMatch> *sipCpp = reinterpret_cast<QList<Plasma::QueryMatch> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::QueryMatch *t = new Plasma::QueryMatch(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Plasma_QueryMatch, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9277 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0200Plasma_QueryMatch = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1658,
        {0}
    },
    release_QList_0200Plasma_QueryMatch,
    convertTo_QList_0200Plasma_QueryMatch,
    convertFrom_QList_0200Plasma_QueryMatch
},
    assign_QList_0200Plasma_QueryMatch
};


extern "C" {static void assign_QList_0201Plasma_ExtenderGroup(void *, const void*);}
static void assign_QList_0201Plasma_ExtenderGroup(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::ExtenderGroup *> *>(sipDst) = *reinterpret_cast<const QList<Plasma::ExtenderGroup *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201Plasma_ExtenderGroup(void *, int);}
static void release_QList_0201Plasma_ExtenderGroup(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::ExtenderGroup *> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_ExtenderGroup, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::ExtenderGroup *> *ql = new QList<Plasma::ExtenderGroup *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        Plasma::ExtenderGroup *t = reinterpret_cast<Plasma::ExtenderGroup *>(sipConvertToType(itm, sipType_Plasma_ExtenderGroup, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9367 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201Plasma_ExtenderGroup(void *, PyObject *);}
static PyObject *convertFrom_QList_0201Plasma_ExtenderGroup(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::ExtenderGroup *> *sipCpp = reinterpret_cast<QList<Plasma::ExtenderGroup *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::ExtenderGroup *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_Plasma_ExtenderGroup, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9399 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0201Plasma_ExtenderGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_686,
        {0}
    },
    release_QList_0201Plasma_ExtenderGroup,
    convertTo_QList_0201Plasma_ExtenderGroup,
    convertFrom_QList_0201Plasma_ExtenderGroup
},
    assign_QList_0201Plasma_ExtenderGroup
};


extern "C" {static void assign_QList_0201Plasma_ExtenderItem(void *, const void*);}
static void assign_QList_0201Plasma_ExtenderItem(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::ExtenderItem *> *>(sipDst) = *reinterpret_cast<const QList<Plasma::ExtenderItem *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201Plasma_ExtenderItem(void *, int);}
static void release_QList_0201Plasma_ExtenderItem(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::ExtenderItem *> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_ExtenderItem, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::ExtenderItem *> *ql = new QList<Plasma::ExtenderItem *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        Plasma::ExtenderItem *t = reinterpret_cast<Plasma::ExtenderItem *>(sipConvertToType(itm, sipType_Plasma_ExtenderItem, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9489 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201Plasma_ExtenderItem(void *, PyObject *);}
static PyObject *convertFrom_QList_0201Plasma_ExtenderItem(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::ExtenderItem *> *sipCpp = reinterpret_cast<QList<Plasma::ExtenderItem *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::ExtenderItem *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_Plasma_ExtenderItem, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9521 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0201Plasma_ExtenderItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_866,
        {0}
    },
    release_QList_0201Plasma_ExtenderItem,
    convertTo_QList_0201Plasma_ExtenderItem,
    convertFrom_QList_0201Plasma_ExtenderItem
},
    assign_QList_0201Plasma_ExtenderItem
};


extern "C" {static void assign_QList_0500Plasma_Location(void *, const void*);}
static void assign_QList_0500Plasma_Location(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::Location> *>(sipDst) = *reinterpret_cast<const QList<Plasma::Location> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0500Plasma_Location(void *, int);}
static void release_QList_0500Plasma_Location(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::Location> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_Location, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::Location> *ql = new QList<Plasma::Location>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Plasma::Location *t = reinterpret_cast<Plasma::Location *>(sipConvertToType(itm, sipType_Plasma_Location, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Plasma_Location, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Plasma_Location, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9616 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0500Plasma_Location(void *, PyObject *);}
static PyObject *convertFrom_QList_0500Plasma_Location(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::Location> *sipCpp = reinterpret_cast<QList<Plasma::Location> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::Location *t = new Plasma::Location(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Plasma_Location, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9650 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0500Plasma_Location = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2523,
        {0}
    },
    release_QList_0500Plasma_Location,
    convertTo_QList_0500Plasma_Location,
    convertFrom_QList_0500Plasma_Location
},
    assign_QList_0500Plasma_Location
};


extern "C" {static void assign_QList_0201Plasma_Containment(void *, const void*);}
static void assign_QList_0201Plasma_Containment(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::Containment *> *>(sipDst) = *reinterpret_cast<const QList<Plasma::Containment *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201Plasma_Containment(void *, int);}
static void release_QList_0201Plasma_Containment(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::Containment *> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_Containment, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::Containment *> *ql = new QList<Plasma::Containment *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        Plasma::Containment *t = reinterpret_cast<Plasma::Containment *>(sipConvertToType(itm, sipType_Plasma_Containment, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9740 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201Plasma_Containment(void *, PyObject *);}
static PyObject *convertFrom_QList_0201Plasma_Containment(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::Containment *> *sipCpp = reinterpret_cast<QList<Plasma::Containment *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::Containment *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_Plasma_Containment, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9772 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0201Plasma_Containment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1272,
        {0}
    },
    release_QList_0201Plasma_Containment,
    convertTo_QList_0201Plasma_Containment,
    convertFrom_QList_0201Plasma_Containment
},
    assign_QList_0201Plasma_Containment
};


extern "C" {static void assign_QList_0200Plasma_RunnerSyntax(void *, const void*);}
static void assign_QList_0200Plasma_RunnerSyntax(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::RunnerSyntax> *>(sipDst) = *reinterpret_cast<const QList<Plasma::RunnerSyntax> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200Plasma_RunnerSyntax(void *, int);}
static void release_QList_0200Plasma_RunnerSyntax(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::RunnerSyntax> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_RunnerSyntax, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::RunnerSyntax> *ql = new QList<Plasma::RunnerSyntax>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        Plasma::RunnerSyntax *t = reinterpret_cast<Plasma::RunnerSyntax *>(sipConvertToType(itm, sipType_Plasma_RunnerSyntax, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_Plasma_RunnerSyntax, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_Plasma_RunnerSyntax, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9867 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200Plasma_RunnerSyntax(void *, PyObject *);}
static PyObject *convertFrom_QList_0200Plasma_RunnerSyntax(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::RunnerSyntax> *sipCpp = reinterpret_cast<QList<Plasma::RunnerSyntax> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::RunnerSyntax *t = new Plasma::RunnerSyntax(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_Plasma_RunnerSyntax, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9901 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0200Plasma_RunnerSyntax = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1300,
        {0}
    },
    release_QList_0200Plasma_RunnerSyntax,
    convertTo_QList_0200Plasma_RunnerSyntax,
    convertFrom_QList_0200Plasma_RunnerSyntax
},
    assign_QList_0200Plasma_RunnerSyntax
};


extern "C" {static void assign_QList_0201Plasma_Applet(void *, const void*);}
static void assign_QList_0201Plasma_Applet(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::Applet *> *>(sipDst) = *reinterpret_cast<const QList<Plasma::Applet *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201Plasma_Applet(void *, int);}
static void release_QList_0201Plasma_Applet(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::Applet *> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_Applet, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::Applet *> *ql = new QList<Plasma::Applet *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        Plasma::Applet *t = reinterpret_cast<Plasma::Applet *>(sipConvertToType(itm, sipType_Plasma_Applet, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9991 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201Plasma_Applet(void *, PyObject *);}
static PyObject *convertFrom_QList_0201Plasma_Applet(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::Applet *> *sipCpp = reinterpret_cast<QList<Plasma::Applet *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::Applet *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_Plasma_Applet, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10023 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0201Plasma_Applet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2931,
        {0}
    },
    release_QList_0201Plasma_Applet,
    convertTo_QList_0201Plasma_Applet,
    convertFrom_QList_0201Plasma_Applet
},
    assign_QList_0201Plasma_Applet
};


extern "C" {static void assign_QList_0201Plasma_AbstractRunner(void *, const void*);}
static void assign_QList_0201Plasma_AbstractRunner(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<Plasma::AbstractRunner *> *>(sipDst) = *reinterpret_cast<const QList<Plasma::AbstractRunner *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201Plasma_AbstractRunner(void *, int);}
static void release_QList_0201Plasma_AbstractRunner(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Plasma::AbstractRunner *> *>(ptr);
    Py_END_ALLOW_THREADS
}



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

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_Plasma_AbstractRunner, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<Plasma::AbstractRunner *> *ql = new QList<Plasma::AbstractRunner *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        Plasma::AbstractRunner *t = reinterpret_cast<Plasma::AbstractRunner *>(sipConvertToType(itm, sipType_Plasma_AbstractRunner, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10113 "sipplasmapart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201Plasma_AbstractRunner(void *, PyObject *);}
static PyObject *convertFrom_QList_0201Plasma_AbstractRunner(void *sipCppV,PyObject *sipTransferObj)
{
   QList<Plasma::AbstractRunner *> *sipCpp = reinterpret_cast<QList<Plasma::AbstractRunner *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.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)
    {
        Plasma::AbstractRunner *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_Plasma_AbstractRunner, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10145 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_0201Plasma_AbstractRunner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_624,
        {0}
    },
    release_QList_0201Plasma_AbstractRunner,
    convertTo_QList_0201Plasma_AbstractRunner,
    convertFrom_QList_0201Plasma_AbstractRunner
},
    assign_QList_0201Plasma_AbstractRunner
};


extern "C" {static void assign_QList_1411(void *, const void*);}
static void assign_QList_1411(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<const char *> *>(sipDst) = *reinterpret_cast<const QList<const char *> *>(sipSrc);
}


/* 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 *sipPy,void **,int *sipIsErr,PyObject *)
{
#line 87 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
    return NULL;
#line 10190 "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 91 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/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 10223 "sipplasmapart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QList_1411 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_12573,
        {0}
    },
    release_QList_1411,
    convertTo_QList_1411,
    convertFrom_QList_1411
},
    assign_QList_1411
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 10246 "sipplasmapart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10250 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10253 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10256 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 10259 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10262 "sipplasmapart4.cpp"
#line 84 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10283 "sipplasmapart4.cpp"
#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 10286 "sipplasmapart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 10289 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 10292 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 10295 "sipplasmapart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 10298 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 10301 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 10304 "sipplasmapart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/signalplotter.sip"
#include <plasma/widgets/signalplotter.h>
#line 10307 "sipplasmapart4.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 10310 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10313 "sipplasmapart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10316 "sipplasmapart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10319 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10322 "sipplasmapart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 10353 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 10356 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10359 "sipplasmapart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10362 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10365 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10368 "sipplasmapart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10371 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10374 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10377 "sipplasmapart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10380 "sipplasmapart4.cpp"


class sipPlasma_PackageStructure : public Plasma::PackageStructure
{
public:
    sipPlasma_PackageStructure(QObject *,const QString&);
    virtual ~sipPlasma_PackageStructure();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipPlasma_PackageStructure::sipPlasma_PackageStructure(QObject *a0,const QString& a1): Plasma::PackageStructure(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_PackageStructure::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_PackageStructure);
}

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

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

    return _id;
}

void *sipPlasma_PackageStructure::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_PackageStructure,_clname)) ? this : Plasma::PackageStructure::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PackageStructure::createNewWidgetBrowser(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_PackageStructure::pathChanged()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

void sipPlasma_PackageStructure::sipProtect_setAllowExternalPaths(bool a0)
{
    Plasma::PackageStructure::setAllowExternalPaths(a0);
}

void sipPlasma_PackageStructure::sipProtect_setContentsPrefix(const QString& a0)
{
    Plasma::PackageStructure::setContentsPrefix(a0);
}

void sipPlasma_PackageStructure::sipProtect_setDefaultPackageRoot(const QString& a0)
{
    Plasma::PackageStructure::setDefaultPackageRoot(a0);
}

void sipPlasma_PackageStructure::sipProtectVirt_pathChanged(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Plasma::PackageStructure::pathChanged() : pathChanged());
}


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

    {
        char * a0;
        sipPlasma_PackageStructure *sipCpp;

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

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 10727 "sipplasmapart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,&a0Keep,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

    {
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        bool a1;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        QStringList * a1;
        int a1State = 0;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        const KConfigBase * a0;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        KConfigBase * a0;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        QWidget * a0 = 0;
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::PackageStructure *sipCpp;

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setAllowExternalPaths(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setContentsPrefix(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDefaultPackageRoot(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_PackageStructure *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_PackageStructure,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_pathChanged(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_PackageStructure)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_PackageStructure *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::PackageStructure *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PackageStructure(sipSimpleWrapper *);}
static void dealloc_Plasma_PackageStructure(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_PackageStructure *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PackageStructure(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_PackageStructure(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_PackageStructure(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_PackageStructure *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;
        const QString& a1def = i18nc("A non-functional package","Invalid");
        const QString * a1 = &a1def;
        int a1State = 0;

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

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_Plasma_PackageStructure[] = {
    {SIP_MLNAME_CAST(sipName_addDirectoryDefinition), meth_Plasma_PackageStructure_addDirectoryDefinition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addFileDefinition), meth_Plasma_PackageStructure_addFileDefinition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allowExternalPaths), meth_Plasma_PackageStructure_allowExternalPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_PackageStructure_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_PackageStructure_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsPrefix), meth_Plasma_PackageStructure_contentsPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewWidgetBrowser), meth_Plasma_PackageStructure_createNewWidgetBrowser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_PackageStructure_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultPackageRoot), meth_Plasma_PackageStructure_defaultPackageRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directories), meth_Plasma_PackageStructure_directories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_PackageStructure_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entryList), meth_Plasma_PackageStructure_entryList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_files), meth_Plasma_PackageStructure_files, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installPackage), meth_Plasma_PackageStructure_installPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRequired), meth_Plasma_PackageStructure_isRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Plasma_PackageStructure_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetypes), meth_Plasma_PackageStructure_mimetypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_PackageStructure_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_Plasma_PackageStructure_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pathChanged), meth_Plasma_PackageStructure_pathChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_read), meth_Plasma_PackageStructure_read, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_PackageStructure_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requiredDirectories), meth_Plasma_PackageStructure_requiredDirectories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requiredFiles), meth_Plasma_PackageStructure_requiredFiles, 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_setDefaultMimetypes), meth_Plasma_PackageStructure_setDefaultMimetypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultPackageRoot), meth_Plasma_PackageStructure_setDefaultPackageRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimetypes), meth_Plasma_PackageStructure_setMimetypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPath), meth_Plasma_PackageStructure_setPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRequired), meth_Plasma_PackageStructure_setRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setServicePrefix), meth_Plasma_PackageStructure_setServicePrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_PackageStructure_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_PackageStructure_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstallPackage), meth_Plasma_PackageStructure_uninstallPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_Plasma_PackageStructure_write, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_PackageStructure = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__PackageStructure,
        {0}
    },
    sipNameNr_PackageStructure,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_PackageStructure,
    0,
    37, methods_Plasma_PackageStructure,
    0, 0,
    0, 0,
    init_Plasma_PackageStructure,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PackageStructure,
    release_Plasma_PackageStructure,
    cast_Plasma_PackageStructure,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::PackageStructure::staticMetaObject,
    0,
    pyqt4_signals_Plasma_PackageStructure
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 11996 "sipplasmapart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12000 "sipplasmapart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12003 "sipplasmapart4.cpp"


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

    {
        Plasma::PackageMetadata *sipCpp;

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setLicense(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setLicense(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setLicense);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setApplication(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setApplication(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setApplication);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setCategory(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setCategory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setCategory);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setRequiredVersion(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setRequiredVersion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setRequiredVersion);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setType);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setPluginName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setPluginName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setPluginName);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PackageMetadata_setImplementationApi(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PackageMetadata_setImplementationApi(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageMetadata *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_PackageMetadata,sipName_setImplementationApi);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_PackageMetadata(void *, const sipTypeDef *);}
static void *cast_Plasma_PackageMetadata(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_PackageMetadata)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_PackageMetadata(void *, int);}
static void release_Plasma_PackageMetadata(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::PackageMetadata *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PackageMetadata(sipSimpleWrapper *);}
static void dealloc_Plasma_PackageMetadata(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PackageMetadata(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_PackageMetadata(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_PackageMetadata(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::PackageMetadata *sipCpp = 0;

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|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);
        }
    }

    if (!sipCpp)
    {
        const Plasma::PackageMetadata * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Plasma_PackageMetadata,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::PackageMetadata(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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_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_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_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_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 pyqt4Type_plasma_Plasma_PackageMetadata = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__PackageMetadata,
        {0}
    },
    sipNameNr_PackageMetadata,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    33, methods_Plasma_PackageMetadata,
    0, 0,
    0, 0,
    init_Plasma_PackageMetadata,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PackageMetadata,
    release_Plasma_PackageMetadata,
    cast_Plasma_PackageMetadata,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
