/*
 * 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/package.sip"
#include <plasma/package.h>
#line 12 "sipplasmapart5.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipplasmapart5.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 19 "sipplasmapart5.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 22 "sipplasmapart5.cpp"
#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 25 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28 "sipplasmapart5.cpp"


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

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Package,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        const QString * a1;
        int a1State = 0;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAAJ1",&sipSelf,sipType_Plasma_Package,&sipCpp,&a0Keep,&a0,sipType_QString,&a1,&a1State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_Plasma_Package,&sipCpp,&a0Keep,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->filePath(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_Plasma_Package,&sipCpp,&a0Keep,&a0))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->entryList(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    return NULL;
}


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

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Package,&sipCpp))
        {
            Plasma::PackageMetadata *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageMetadata(sipCpp->metadata());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Package,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Package *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::Package *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Package,&sipCpp))
        {
            Plasma::PackageStructure::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageStructure::Ptr(sipCpp->structure());
            Py_END_ALLOW_THREADS

            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_Package,sipName_structure);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::Package::listInstalled(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::Package::listInstalledPaths(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::installPackage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::uninstallPackage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::PackageMetadata * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1",sipType_Plasma_PackageMetadata,&a0,sipType_QString,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::registerPackage(*a0,*a1);
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::PackageMetadata * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1J1|J1",sipType_Plasma_PackageMetadata,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Package::createPackage(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::PackageStructure::Ptr * a2;
        int a2State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_KSharedPtr_0200Plasma_PackageStructure,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Package(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KSharedPtr_0200Plasma_PackageStructure,a2State);
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        Plasma::PackageStructure::Ptr * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1",sipType_QString,&a0,&a0State,sipType_KSharedPtr_0200Plasma_PackageStructure,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Package(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KSharedPtr_0200Plasma_PackageStructure,a1State);
        }
    }

    return sipCpp;
}


static PyMethodDef methods_Plasma_Package[] = {
    {SIP_MLNAME_CAST(sipName_createPackage), meth_Plasma_Package_createPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entryList), meth_Plasma_Package_entryList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filePath), meth_Plasma_Package_filePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installPackage), meth_Plasma_Package_installPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_Package_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listInstalled), meth_Plasma_Package_listInstalled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listInstalledPaths), meth_Plasma_Package_listInstalledPaths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metadata), meth_Plasma_Package_metadata, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_Plasma_Package_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerPackage), meth_Plasma_Package_registerPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPath), meth_Plasma_Package_setPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_structure), meth_Plasma_Package_structure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstallPackage), meth_Plasma_Package_uninstallPackage, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Package = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Package,
        {0}
    },
    sipNameNr_Package,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {1, 255, 0},
    0,
    0,
    13, methods_Plasma_Package,
    0, 0,
    0, 0,
    init_Plasma_Package,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Package,
    release_Plasma_Package,
    cast_Plasma_Package,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/glapplet.sip"
#include <plasma/glapplet.h>
#line 600 "sipplasmapart5.cpp"

#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 604 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 607 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 610 "sipplasmapart5.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 641 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 644 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 647 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 650 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 653 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 656 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 659 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 662 "sipplasmapart5.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 665 "sipplasmapart5.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 668 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 671 "sipplasmapart5.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 674 "sipplasmapart5.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 677 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 680 "sipplasmapart5.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 685 "sipplasmapart5.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 688 "sipplasmapart5.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 691 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 694 "sipplasmapart5.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 697 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 700 "sipplasmapart5.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 703 "sipplasmapart5.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 706 "sipplasmapart5.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 709 "sipplasmapart5.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 712 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 715 "sipplasmapart5.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 718 "sipplasmapart5.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 721 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 724 "sipplasmapart5.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 727 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 730 "sipplasmapart5.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 791 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 794 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 797 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 800 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 803 "sipplasmapart5.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 808 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 811 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 814 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 817 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 820 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 823 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 826 "sipplasmapart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 829 "sipplasmapart5.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 834 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 837 "sipplasmapart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 840 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 843 "sipplasmapart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 846 "sipplasmapart5.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 851 "sipplasmapart5.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 856 "sipplasmapart5.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 861 "sipplasmapart5.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 866 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 869 "sipplasmapart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 872 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 875 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 878 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 881 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 884 "sipplasmapart5.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 887 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 890 "sipplasmapart5.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 943 "sipplasmapart5.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 946 "sipplasmapart5.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 949 "sipplasmapart5.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 952 "sipplasmapart5.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 955 "sipplasmapart5.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 958 "sipplasmapart5.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 961 "sipplasmapart5.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 964 "sipplasmapart5.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 967 "sipplasmapart5.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 970 "sipplasmapart5.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 973 "sipplasmapart5.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 976 "sipplasmapart5.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 979 "sipplasmapart5.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 982 "sipplasmapart5.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 985 "sipplasmapart5.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 988 "sipplasmapart5.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 991 "sipplasmapart5.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 994 "sipplasmapart5.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 997 "sipplasmapart5.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 1012 "sipplasmapart5.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 1015 "sipplasmapart5.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 1018 "sipplasmapart5.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 1021 "sipplasmapart5.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 1024 "sipplasmapart5.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 1027 "sipplasmapart5.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 1030 "sipplasmapart5.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 1033 "sipplasmapart5.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 1036 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1039 "sipplasmapart5.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 1042 "sipplasmapart5.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 1045 "sipplasmapart5.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 1048 "sipplasmapart5.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 1051 "sipplasmapart5.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 1054 "sipplasmapart5.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1057 "sipplasmapart5.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1060 "sipplasmapart5.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1063 "sipplasmapart5.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1066 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1069 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1072 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1075 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1078 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 1081 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1084 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1087 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1090 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1093 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1096 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 1099 "sipplasmapart5.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1102 "sipplasmapart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1105 "sipplasmapart5.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 1110 "sipplasmapart5.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1113 "sipplasmapart5.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1116 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 1119 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1122 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1125 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1128 "sipplasmapart5.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1131 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 1134 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 1137 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1140 "sipplasmapart5.cpp"


class sipPlasma_GLApplet : public Plasma::GLApplet
{
public:
    sipPlasma_GLApplet(QGraphicsItem *,const QString&,int);
    sipPlasma_GLApplet(QObject *,const QVariantList&);
    virtual ~sipPlasma_GLApplet();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(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_eventFilter(bool,QObject *,QEvent *);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    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_mousePressEvent(bool,QGraphicsSceneMouseEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void paintGLInterface(QPainter *,const QStyleOptionGraphicsItem *);
    void save(KConfigGroup&) const;
    void restore(KConfigGroup&);
    Plasma::FormFactor formFactor() const;
    Plasma::Location location() const;
    void paintInterface(QPainter *,const QStyleOptionGraphicsItem *,const QRect&);
    QList<QAction *> contextualActions();
    bool isPopupShowing() const;
    void addAssociatedWidget(QWidget *);
    void removeAssociatedWidget(QWidget *);
    void initExtenderItem(Plasma::ExtenderItem *);
    void createConfigurationInterface(KConfigDialog *);
    void destroy();
    void showConfigurationInterface();
    void init();
    void configChanged();
    void saveState(KConfigGroup&) const;
    void constraintsEvent(Plasma::Constraints);
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    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_GLApplet(const sipPlasma_GLApplet &);
    sipPlasma_GLApplet &operator = (const sipPlasma_GLApplet &);

    char sipPyMethods[78];
};

sipPlasma_GLApplet::sipPlasma_GLApplet(QGraphicsItem *a0,const QString& a1,int a2): Plasma::GLApplet(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

const QMetaObject *sipPlasma_GLApplet::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_GLApplet);
}

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

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

    return _id;
}

void *sipPlasma_GLApplet::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_GLApplet,_clname)) ? this : Plasma::GLApplet::qt_metacast(_clname);
}

void sipPlasma_GLApplet::paintGLInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1)
{
    extern void sipVH_plasma_9(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Plasma::GLApplet::paintGLInterface(a0,a1);
        return;
    }

    sipVH_plasma_9(sipGILState,meth,a0,a1);
}

void sipPlasma_GLApplet::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[1]),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_GLApplet::restore(KConfigGroup& a0)
{
    typedef void (*sipVH_kdeui_33)(sip_gilstate_t,PyObject *,KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],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_GLApplet::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[3]),sipPySelf,NULL,sipName_formFactor);

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

    return sipVH_plasma_18(sipGILState,meth);
}

Plasma::Location sipPlasma_GLApplet::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[4]),sipPySelf,NULL,sipName_location);

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

    return sipVH_plasma_17(sipGILState,meth);
}

void sipPlasma_GLApplet::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[5],sipPySelf,NULL,sipName_paintInterface);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],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_GLApplet::removeAssociatedWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],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_GLApplet::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[10],sipPySelf,NULL,sipName_initExtenderItem);

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

    sipVH_plasma_11(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_plasma_16(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_GLApplet::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[16]),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_GLApplet::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[17],sipPySelf,NULL,sipName_constraintsEvent);

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

    sipVH_plasma_6(sipGILState,meth,a0);
}

void sipPlasma_GLApplet::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[18],sipPySelf,NULL,sipName_setGeometry);

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

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

void sipPlasma_GLApplet::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[19]),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_GLApplet::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_GLApplet::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[21],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_GLApplet::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[22],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_GLApplet::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_GLApplet::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[25]),sipPySelf,NULL,sipName_initStyleOption);

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

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

QSizeF sipPlasma_GLApplet::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[26]),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_GLApplet::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipPlasma_GLApplet::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[28],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_GLApplet::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[29],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_GLApplet::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],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_GLApplet::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],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_GLApplet::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[32]),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_GLApplet::event(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_event);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],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_GLApplet::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],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_GLApplet::focusOutEvent(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_focusOutEvent);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],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_GLApplet::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],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_GLApplet::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_GLApplet::grabKeyboardEvent(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_grabKeyboardEvent);

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

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

void sipPlasma_GLApplet::ungrabKeyboardEvent(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_ungrabKeyboardEvent);

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

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

bool sipPlasma_GLApplet::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[50],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],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_GLApplet::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_GLApplet::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[54],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipPlasma_GLApplet::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[55],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_GLApplet::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[57]),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_GLApplet::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[58]),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_GLApplet::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[59]),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_GLApplet::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[60]),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_GLApplet::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_GLApplet::dragMoveEvent(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_dragMoveEvent);

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

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

void sipPlasma_GLApplet::dropEvent(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_dropEvent);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],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_GLApplet::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipPlasma_GLApplet::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[69]),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_GLApplet::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],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_GLApplet::mousePressEvent(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_mousePressEvent);

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

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

void sipPlasma_GLApplet::mouseReleaseEvent(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_mouseReleaseEvent);

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

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

bool sipPlasma_GLApplet::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[76],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_GLApplet::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

void sipPlasma_GLApplet::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_GLApplet::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

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

void sipPlasma_GLApplet::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

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

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

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

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

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

void sipPlasma_GLApplet::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::InputMethodQuery a0;
        sipPlasma_GLApplet *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_GLApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_GLApplet,&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 3438 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QStyleOption * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_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_GLApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_GLApplet,&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_GLApplet,sipName_propertyChange);

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QPointF * a0;
        sipPlasma_GLApplet *sipCpp;

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

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

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_GLApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfigGroup * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_showMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_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_GLApplet *sipCpp;

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_GLApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_GLApplet *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_extender();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_GLApplet *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

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

    return NULL;
}


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

    {
        sipPlasma_GLApplet *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GLApplet_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GLApplet_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_GLApplet *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_GLApplet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        Plasma::GLApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J8",&sipSelf,sipType_Plasma_GLApplet,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionGraphicsItem,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::GLApplet::paintGLInterface(a0,a1) : sipCpp->paintGLInterface(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::GLApplet *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_GLApplet,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->makeCurrent();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_GLApplet)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Applet)->ctd_cast((Plasma::Applet *)(Plasma::GLApplet *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QGraphicsItem * a0;
        const QString * a1;
        int a1State = 0;
        int a2;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J1i",sipType_QGraphicsItem,&a0,sipType_QString,&a1,&a1State,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_GLApplet(a0,*a1,a2);
            Py_END_ALLOW_THREADS

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

    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_GLApplet(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_GLApplet[] = {{10, 255, 1}};


static PyMethodDef methods_Plasma_GLApplet[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_GLApplet_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_GLApplet_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_GLApplet_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_GLApplet_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_GLApplet_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_GLApplet_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_GLApplet_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_GLApplet_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_GLApplet_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_GLApplet_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_GLApplet_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_GLApplet_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_GLApplet_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_GLApplet_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_GLApplet_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_GLApplet_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_GLApplet_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_GLApplet_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_GLApplet_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_GLApplet_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_GLApplet_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_GLApplet_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_GLApplet_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_GLApplet_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_GLApplet_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_GLApplet_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_GLApplet_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_GLApplet_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_GLApplet_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_GLApplet_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_GLApplet_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCurrent), meth_Plasma_GLApplet_makeCurrent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_GLApplet_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_GLApplet_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_GLApplet_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_GLApplet_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_GLApplet_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintGLInterface), meth_Plasma_GLApplet_paintGLInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_GLApplet_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_GLApplet_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_GLApplet_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_GLApplet_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_GLApplet_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_GLApplet_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_GLApplet_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_GLApplet_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_GLApplet_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_GLApplet_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_GLApplet_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_GLApplet_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_GLApplet_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_GLApplet_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_GLApplet_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_GLApplet_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_GLApplet_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_GLApplet_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_GLApplet_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_GLApplet_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_GLApplet_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_GLApplet_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_GLApplet_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_GLApplet_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_GLApplet_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_GLApplet_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_GLApplet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__GLApplet,
        {0}
    },
    sipNameNr_GLApplet,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_GLApplet,
    0,
    64, methods_Plasma_GLApplet,
    0, 0,
    0, 0,
    init_Plasma_GLApplet,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_GLApplet,
    release_Plasma_GLApplet,
    cast_Plasma_GLApplet,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::GLApplet::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 5037 "sipplasmapart5.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 5041 "sipplasmapart5.cpp"


extern "C" {static int slot_Plasma_FrameSvg_EnabledBorders___bool__(PyObject *sipSelf);}
static int slot_Plasma_FrameSvg_EnabledBorders___bool__(PyObject *sipSelf)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 5059 "sipplasmapart5.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

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

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 5087 "sipplasmapart5.cpp"

            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

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

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 5119 "sipplasmapart5.cpp"

            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___invert__(PyObject *sipSelf)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State,&a1))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        Plasma::FrameSvg::EnabledBorders * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State,sipType_Plasma_FrameSvg_EnabledBorders,&a1,&a1State))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);
            sipReleaseType(a1,sipType_Plasma_FrameSvg_EnabledBorders,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        Plasma::FrameSvg::EnabledBorders * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State,sipType_Plasma_FrameSvg_EnabledBorders,&a1,&a1State))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);
            sipReleaseType(a1,sipType_Plasma_FrameSvg_EnabledBorders,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___int__(PyObject *sipSelf)
{
    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorders)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::FrameSvg::EnabledBorders::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorders)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::FrameSvg::EnabledBorders::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_FrameSvg_EnabledBorders___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_FrameSvg_EnabledBorders___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorders)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::FrameSvg::EnabledBorders *sipCpp = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_FrameSvg_EnabledBorders));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::FrameSvg::EnabledBorders::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_FrameSvg_EnabledBorders(void *, const sipTypeDef *);}
static void *cast_Plasma_FrameSvg_EnabledBorders(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_FrameSvg_EnabledBorders)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_FrameSvg_EnabledBorders(void *, const void*);}
static void assign_Plasma_FrameSvg_EnabledBorders(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipDst) = *reinterpret_cast<const Plasma::FrameSvg::EnabledBorders *>(sipSrc);
}


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


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

    if (!sipCpp)
    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::FrameSvg::EnabledBorders(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::FrameSvg::EnabledBorders(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::FrameSvg::EnabledBorders();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorder)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_FrameSvg_EnabledBorders, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FrameSvg_EnabledBorder)))
{
    *sipCppPtr = new Plasma::FrameSvg::EnabledBorders(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::FrameSvg::EnabledBorders *>(sipConvertToType(sipPy, sipType_Plasma_FrameSvg_EnabledBorders, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 5490 "sipplasmapart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_FrameSvg_EnabledBorders[] = {
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___bool__, bool_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___ne__, ne_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___eq__, eq_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___invert__, invert_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___and__, and_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___xor__, xor_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___or__, or_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___int__, int_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___ixor__, ixor_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___ior__, ior_slot},
    {(void *)slot_Plasma_FrameSvg_EnabledBorders___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_FrameSvg_EnabledBorders = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__FrameSvg__EnabledBorders,
        {0}
    },
    sipNameNr_EnabledBorders,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {52, 255, 0},
    0,
    slots_Plasma_FrameSvg_EnabledBorders,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_FrameSvg_EnabledBorders,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_FrameSvg_EnabledBorders,
    release_Plasma_FrameSvg_EnabledBorders,
    cast_Plasma_FrameSvg_EnabledBorders,
    convertTo_Plasma_FrameSvg_EnabledBorders,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_FrameSvg_EnabledBorders,
    0,
    1,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/svg.sip"
#include <plasma/svg.h>
#line 5558 "sipplasmapart5.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5562 "sipplasmapart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 5565 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5568 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5571 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5574 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5577 "sipplasmapart5.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5580 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5583 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5586 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 5589 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5592 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5595 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5598 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5601 "sipplasmapart5.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 5632 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 5635 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 5638 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5641 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 5644 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5647 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5650 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5653 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5656 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5659 "sipplasmapart5.cpp"


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

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

    /*
     * There is a 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_Svg(const sipPlasma_Svg &);
    sipPlasma_Svg &operator = (const sipPlasma_Svg &);

    char sipPyMethods[7];
};

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

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

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

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

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

    return _id;
}

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

bool sipPlasma_Svg::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_Svg::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_Svg::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_Svg::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_Svg::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_Svg::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_Svg::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_Svg::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

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

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

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

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

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


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

    {
        char * a0;
        sipPlasma_Svg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Svg,&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 5912 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_Svg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Svg,&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_Svg,sipName_timerEvent);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_Svg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Svg,&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_Svg,sipName_childEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Svg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Svg,&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_Svg,sipName_customEvent);

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Svg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Svg,&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_Svg,sipName_connectNotify);

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Svg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Svg,&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_Svg,sipName_disconnectNotify);

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->pixmap(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9|J1",&sipSelf,sipType_Plasma_Svg,&sipCpp,sipType_QPainter,&a0,sipType_QPointF,&a1,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Svg *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Plasma::Svg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->elementSize(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->elementRect(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

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

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::Svg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containsMultipleImages();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Svg,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImagePath(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Svg *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::Svg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUsingRenderingCache();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->theme();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_Svg)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Svg = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Svg,
        {0}
    },
    sipNameNr_Svg,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_Svg,
    0,
    23, methods_Plasma_Svg,
    0, 0,
    0, 0,
    init_Plasma_Svg,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Svg,
    release_Plasma_Svg,
    cast_Plasma_Svg,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::Svg::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Svg
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 6801 "sipplasmapart5.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6805 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6808 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6811 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6814 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 6817 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 6820 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6823 "sipplasmapart5.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 6826 "sipplasmapart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 6829 "sipplasmapart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 6832 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6835 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 6838 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6841 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6844 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6847 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6850 "sipplasmapart5.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 6881 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 6884 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 6887 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6890 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6893 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6896 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6899 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6902 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6905 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6908 "sipplasmapart5.cpp"


class sipPlasma_FrameSvg : public Plasma::FrameSvg
{
public:
    sipPlasma_FrameSvg(QObject *);
    virtual ~sipPlasma_FrameSvg();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

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

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

const QMetaObject *sipPlasma_FrameSvg::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_FrameSvg);
}

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

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

    return _id;
}

void *sipPlasma_FrameSvg::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_FrameSvg,_clname)) ? this : Plasma::FrameSvg::qt_metacast(_clname);
}

bool sipPlasma_FrameSvg::event(QEvent *a0)
{
    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_FrameSvg::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_FrameSvg::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_FrameSvg::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_FrameSvg::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_FrameSvg::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_FrameSvg::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_FrameSvg::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

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

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

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

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

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


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

    {
        char * a0;
        sipPlasma_FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_FrameSvg,&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 7161 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_FrameSvg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_FrameSvg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_FrameSvg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_FrameSvg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_FrameSvg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImagePath(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::FrameSvg::EnabledBorders * a0;
        int a0State = 0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_Plasma_FrameSvg_EnabledBorders,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabledBorders(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders(sipCpp->enabledBorders());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_QSizeF,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resizeFrame(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->frameSize());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::MarginEdge a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_Plasma_MarginEdge,&a0))
        {
            qreal sipRes;

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

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getMargins(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            QRectF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->contentsRect());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::Location a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_Plasma_Location,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setElementPrefix(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setElementPrefix(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        Plasma::Location a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_Plasma_Location,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            QRegion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegion(sipCpp->mask());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->alphaMask());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCacheAllRenderedFrames(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cacheAllRenderedFrames();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearCache();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->framePixmap());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QRectF * a1;
        const QRectF& a2def = QRectF();
        const QRectF * a2 = &a2def;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9|J9",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_QPainter,&a0,sipType_QRectF,&a1,sipType_QRectF,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paintFrame(a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter * a0;
        const QPointF& a1def = QPointF(0,0);
        const QPointF * a1 = &a1def;
        Plasma::FrameSvg *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8|J9",&sipSelf,sipType_Plasma_FrameSvg,&sipCpp,sipType_QPainter,&a0,sipType_QPointF,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paintFrame(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_FrameSvg)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Svg)->ctd_cast((Plasma::Svg *)(Plasma::FrameSvg *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_FrameSvg[] = {{95, 255, 1}};


static PyMethodDef methods_Plasma_FrameSvg[] = {
    {SIP_MLNAME_CAST(sipName_alphaMask), meth_Plasma_FrameSvg_alphaMask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cacheAllRenderedFrames), meth_Plasma_FrameSvg_cacheAllRenderedFrames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_FrameSvg_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearCache), meth_Plasma_FrameSvg_clearCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_FrameSvg_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_Plasma_FrameSvg_contentsRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_FrameSvg_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_FrameSvg_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledBorders), meth_Plasma_FrameSvg_enabledBorders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_framePixmap), meth_Plasma_FrameSvg_framePixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameSize), meth_Plasma_FrameSvg_frameSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getMargins), meth_Plasma_FrameSvg_getMargins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasElementPrefix), meth_Plasma_FrameSvg_hasElementPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginSize), meth_Plasma_FrameSvg_marginSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mask), meth_Plasma_FrameSvg_mask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintFrame), meth_Plasma_FrameSvg_paintFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_Plasma_FrameSvg_prefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_FrameSvg_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeFrame), meth_Plasma_FrameSvg_resizeFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCacheAllRenderedFrames), meth_Plasma_FrameSvg_setCacheAllRenderedFrames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setElementPrefix), meth_Plasma_FrameSvg_setElementPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabledBorders), meth_Plasma_FrameSvg_setEnabledBorders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImagePath), meth_Plasma_FrameSvg_setImagePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_FrameSvg_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_FrameSvg[] = {
    {sipName_AllBorders, Plasma::FrameSvg::AllBorders, 53},
    {sipName_BottomBorder, Plasma::FrameSvg::BottomBorder, 53},
    {sipName_LeftBorder, Plasma::FrameSvg::LeftBorder, 53},
    {sipName_NoBorder, Plasma::FrameSvg::NoBorder, 53},
    {sipName_RightBorder, Plasma::FrameSvg::RightBorder, 53},
    {sipName_TopBorder, Plasma::FrameSvg::TopBorder, 53},
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_FrameSvg = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__FrameSvg,
        {0}
    },
    sipNameNr_FrameSvg,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_FrameSvg,
    0,
    24, methods_Plasma_FrameSvg,
    6, enummembers_Plasma_FrameSvg,
    0, 0,
    init_Plasma_FrameSvg,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_FrameSvg,
    release_Plasma_FrameSvg,
    cast_Plasma_FrameSvg,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::FrameSvg::staticMetaObject,
    0,
    0
};

#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 8022 "sipplasmapart5.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 8026 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8029 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8032 "sipplasmapart5.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8035 "sipplasmapart5.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8038 "sipplasmapart5.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8041 "sipplasmapart5.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8044 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8047 "sipplasmapart5.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8050 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8053 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 8056 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8059 "sipplasmapart5.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 8062 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8065 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 8068 "sipplasmapart5.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 8071 "sipplasmapart5.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 8132 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 8135 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8138 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8141 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 8144 "sipplasmapart5.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 8149 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 8152 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8155 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 8158 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 8161 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 8164 "sipplasmapart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 8167 "sipplasmapart5.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 8172 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 8175 "sipplasmapart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 8178 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 8181 "sipplasmapart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 8184 "sipplasmapart5.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 8189 "sipplasmapart5.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 8194 "sipplasmapart5.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 8199 "sipplasmapart5.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 8204 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 8207 "sipplasmapart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 8210 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 8213 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 8216 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 8219 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8222 "sipplasmapart5.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8225 "sipplasmapart5.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8228 "sipplasmapart5.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8231 "sipplasmapart5.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8234 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8237 "sipplasmapart5.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 8240 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8243 "sipplasmapart5.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 8274 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 8277 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8280 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8283 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8286 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8289 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8292 "sipplasmapart5.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 8297 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8300 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8303 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 8306 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8309 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 8312 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8315 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8318 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8321 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8324 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8327 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 8330 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 8333 "sipplasmapart5.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8336 "sipplasmapart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8339 "sipplasmapart5.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 8344 "sipplasmapart5.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8347 "sipplasmapart5.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8350 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 8353 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8356 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8359 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8362 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 8365 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 8368 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8371 "sipplasmapart5.cpp"


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

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtect_prepareGeometryChange();
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    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 sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    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 *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_paint(bool,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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_ExtenderItem(const sipPlasma_ExtenderItem &);
    sipPlasma_ExtenderItem &operator = (const sipPlasma_ExtenderItem &);

    char sipPyMethods[60];
};

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

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

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

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

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

    return _id;
}

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

void sipPlasma_ExtenderItem::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[0],sipPySelf,NULL,sipName_setGeometry);

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

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

void sipPlasma_ExtenderItem::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[1]),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_ExtenderItem::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_ExtenderItem::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[3],sipPySelf,NULL,sipName_paint);

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

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

void sipPlasma_ExtenderItem::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[4],sipPySelf,NULL,sipName_paintWindowFrame);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_ExtenderItem::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[7]),sipPySelf,NULL,sipName_initStyleOption);

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

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

QSizeF sipPlasma_ExtenderItem::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[8]),sipPySelf,NULL,sipName_sizeHint);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipPlasma_ExtenderItem::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[10],sipPySelf,NULL,sipName_itemChange);

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

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

QVariant sipPlasma_ExtenderItem::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[11],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_ExtenderItem::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],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_ExtenderItem::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],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_ExtenderItem::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[14]),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_ExtenderItem::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],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_ExtenderItem::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],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_ExtenderItem::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_ExtenderItem::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[32],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_ExtenderItem::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_ExtenderItem::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[36],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::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[37],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_advance);

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_ExtenderItem::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[39]),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_ExtenderItem::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[40]),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_ExtenderItem::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[41]),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_ExtenderItem::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[42]),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_ExtenderItem::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_ExtenderItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_ExtenderItem::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[51]),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_ExtenderItem::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

bool sipPlasma_ExtenderItem::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[58],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return Plasma::ExtenderItem::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_ExtenderItem::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderItem::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_ExtenderItem::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_ExtenderItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_ExtenderItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_ExtenderItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

int sipPlasma_ExtenderItem::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_ExtenderItem::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

QSizeF sipPlasma_ExtenderItem::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_ExtenderItem::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_ExtenderItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

QVariant sipPlasma_ExtenderItem::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_ExtenderItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_ExtenderItem::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_ExtenderItem::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_ExtenderItem::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusInEvent(a0) : focusInEvent(a0));
}

bool sipPlasma_ExtenderItem::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_ExtenderItem::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_paint(bool sipSelfWasArg,QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::paint(a0,a1,a2) : paint(a0,a1,a2));
}

void sipPlasma_ExtenderItem::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::resizeEvent(a0) : resizeEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_ExtenderItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

bool sipPlasma_ExtenderItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::ExtenderItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_setGraphicsItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_setOwnedByLayout);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_hoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_prepareGeometryChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ExtenderItem,&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 10239 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_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_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_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_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_sceneEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_windowFrameEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_windowFrameSectionAt);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_polishEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_grabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_ungrabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_grabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_ungrabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_config(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_config(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->config());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_config);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_widget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_widget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            QGraphicsItem *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_widget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setTitle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setTitle(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTitle(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setTitle);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_title(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_title(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->title());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_title);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setName);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QIcon * a0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setIcon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_icon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_icon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setExtender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setExtender(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender * a0;
        const QPointF& a1def = QPointF(-1,-1);
        const QPointF * a1 = &a1def;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8|J9",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_Plasma_Extender,&a0,sipType_QPointF,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtender(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setExtender);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_extender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_extender(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->extender();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Extender,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_extender);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setGroup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderGroup * a0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_Plasma_ExtenderGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGroup(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setGroup);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_group(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_group(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            Plasma::ExtenderGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->group();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_ExtenderGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_group);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_isGroup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_isGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroup();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_isGroup);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setAutoExpireDelay(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setAutoExpireDelay(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        uint a0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bu",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoExpireDelay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setAutoExpireDelay);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_autoExpireDelay(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_autoExpireDelay(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoExpireDelay();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_autoExpireDelay);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_isDetached(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_isDetached(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDetached();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_isDetached);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_isCollapsed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_isCollapsed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCollapsed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_isCollapsed);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_addAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_addAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        QAction * a1;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J8",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QString,&a0,&a0State,sipType_QAction,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_addAction);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_action(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_action);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_destroy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->destroy();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_setCollapsed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_setCollapsed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCollapsed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_setCollapsed);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_returnToSource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_returnToSource(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->returnToSource();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_returnToSource);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_showCloseButton(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_showCloseButton(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showCloseButton();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_showCloseButton);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_hideCloseButton(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_hideCloseButton(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->hideCloseButton();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_hideCloseButton);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_paint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        QWidget * a2;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8J8",&sipSelf,sipType_Plasma_ExtenderItem,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionGraphicsItem,&a1,sipType_QWidget,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paint(sipSelfWasArg,a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderItem,sipName_paint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_hoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_hoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderItem_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderItem_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_ExtenderItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_ExtenderItem,&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_ExtenderItem,sipName_sceneEventFilter);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ExtenderItem(void *, const sipTypeDef *);}
static void *cast_Plasma_ExtenderItem(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_ExtenderItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::ExtenderItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ExtenderItem(void *, int);}
static void release_Plasma_ExtenderItem(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_ExtenderItem *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::ExtenderItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ExtenderItem(sipSimpleWrapper *);}
static void dealloc_Plasma_ExtenderItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ExtenderItem *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ExtenderItem(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_ExtenderItem(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_ExtenderItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipPlasma_ExtenderItem *sipCpp = 0;

    if (!sipCpp)
    {
        Plasma::Extender * a0;
        uint a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8|u",sipType_Plasma_Extender,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ExtenderItem(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_ExtenderItem[] = {{190, 2, 1}};


static PyMethodDef methods_Plasma_ExtenderItem[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_ExtenderItem_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_Plasma_ExtenderItem_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoExpireDelay), meth_Plasma_ExtenderItem_autoExpireDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_ExtenderItem_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_ExtenderItem_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_ExtenderItem_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_ExtenderItem_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_ExtenderItem_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_ExtenderItem_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_ExtenderItem_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Plasma_ExtenderItem_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_ExtenderItem_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_ExtenderItem_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_ExtenderItem_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_ExtenderItem_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_ExtenderItem_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_ExtenderItem_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_ExtenderItem_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_ExtenderItem_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_ExtenderItem_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_ExtenderItem_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_ExtenderItem_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_ExtenderItem_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_Plasma_ExtenderItem_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideCloseButton), meth_Plasma_ExtenderItem_hideCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_ExtenderItem_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_ExtenderItem_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_ExtenderItem_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_ExtenderItem_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_ExtenderItem_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_ExtenderItem_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_ExtenderItem_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_ExtenderItem_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCollapsed), meth_Plasma_ExtenderItem_isCollapsed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetached), meth_Plasma_ExtenderItem_isDetached, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroup), meth_Plasma_ExtenderItem_isGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_ExtenderItem_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_ExtenderItem_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_ExtenderItem_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_ExtenderItem_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_ExtenderItem_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_ExtenderItem_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_ExtenderItem_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_ExtenderItem_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_ExtenderItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_ExtenderItem_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_ExtenderItem_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_ExtenderItem_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_ExtenderItem_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_ExtenderItem_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ExtenderItem_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_returnToSource), meth_Plasma_ExtenderItem_returnToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_ExtenderItem_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_ExtenderItem_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoExpireDelay), meth_Plasma_ExtenderItem_setAutoExpireDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCollapsed), meth_Plasma_ExtenderItem_setCollapsed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtender), meth_Plasma_ExtenderItem_setExtender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_ExtenderItem_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGroup), meth_Plasma_ExtenderItem_setGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_ExtenderItem_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_Plasma_ExtenderItem_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_ExtenderItem_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_Plasma_ExtenderItem_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_Plasma_ExtenderItem_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showCloseButton), meth_Plasma_ExtenderItem_showCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_ExtenderItem_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_ExtenderItem_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_ExtenderItem_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_Plasma_ExtenderItem_title, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_ExtenderItem_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_ExtenderItem_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_ExtenderItem_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_ExtenderItem_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_Plasma_ExtenderItem_widget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_ExtenderItem_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_ExtenderItem_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_ExtenderItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ExtenderItem,
        {0}
    },
    sipNameNr_ExtenderItem,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_ExtenderItem,
    0,
    76, methods_Plasma_ExtenderItem,
    0, 0,
    0, 0,
    init_Plasma_ExtenderItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ExtenderItem,
    release_Plasma_ExtenderItem,
    cast_Plasma_ExtenderItem,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::ExtenderItem::staticMetaObject,
    0,
    0
};

#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 12187 "sipplasmapart5.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 12191 "sipplasmapart5.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 12212 "sipplasmapart5.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 12215 "sipplasmapart5.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 12218 "sipplasmapart5.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 12221 "sipplasmapart5.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 12224 "sipplasmapart5.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 12227 "sipplasmapart5.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 12230 "sipplasmapart5.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 12233 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12236 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12239 "sipplasmapart5.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12242 "sipplasmapart5.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12245 "sipplasmapart5.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12248 "sipplasmapart5.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12251 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12254 "sipplasmapart5.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12257 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12260 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 12263 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12266 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12269 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 12272 "sipplasmapart5.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 12275 "sipplasmapart5.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 12336 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 12339 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12342 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 12345 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 12348 "sipplasmapart5.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 12353 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 12356 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 12359 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 12362 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 12365 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 12368 "sipplasmapart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 12371 "sipplasmapart5.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 12376 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 12379 "sipplasmapart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 12382 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 12385 "sipplasmapart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 12388 "sipplasmapart5.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 12393 "sipplasmapart5.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 12398 "sipplasmapart5.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 12403 "sipplasmapart5.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 12408 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 12411 "sipplasmapart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 12414 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 12417 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 12420 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 12423 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12426 "sipplasmapart5.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 12429 "sipplasmapart5.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 12432 "sipplasmapart5.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 12435 "sipplasmapart5.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 12438 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12441 "sipplasmapart5.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 12444 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12447 "sipplasmapart5.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 12478 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12481 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12484 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12487 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12490 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12493 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12496 "sipplasmapart5.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 12501 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12504 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12507 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 12510 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12513 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 12516 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12519 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12522 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12525 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12528 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12531 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 12534 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 12537 "sipplasmapart5.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12540 "sipplasmapart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 12543 "sipplasmapart5.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 12548 "sipplasmapart5.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12551 "sipplasmapart5.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12554 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 12557 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12560 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12563 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12566 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 12569 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 12572 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12575 "sipplasmapart5.cpp"


class sipPlasma_ExtenderGroup : public Plasma::ExtenderGroup
{
public:
    sipPlasma_ExtenderGroup(Plasma::Extender *,uint);
    virtual ~sipPlasma_ExtenderGroup();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtect_prepareGeometryChange();
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    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 sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    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 *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_paint(bool,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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_ExtenderGroup(const sipPlasma_ExtenderGroup &);
    sipPlasma_ExtenderGroup &operator = (const sipPlasma_ExtenderGroup &);

    char sipPyMethods[60];
};

sipPlasma_ExtenderGroup::sipPlasma_ExtenderGroup(Plasma::Extender *a0,uint a1): Plasma::ExtenderGroup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ExtenderGroup::~sipPlasma_ExtenderGroup()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_ExtenderGroup::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ExtenderGroup);
}

int sipPlasma_ExtenderGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::ExtenderGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_ExtenderGroup,_c,_id,_a);

    return _id;
}

void *sipPlasma_ExtenderGroup::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_ExtenderGroup,_clname)) ? this : Plasma::ExtenderGroup::qt_metacast(_clname);
}

void sipPlasma_ExtenderGroup::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[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::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[1]),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_ExtenderGroup::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_type);

    if (!meth)
        return QGraphicsWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipPlasma_ExtenderGroup::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[3],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        Plasma::ExtenderItem::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

void sipPlasma_ExtenderGroup::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[4],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_ExtenderGroup::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_boundingRect);

    if (!meth)
        return QGraphicsWidget::boundingRect();

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

QPainterPath sipPlasma_ExtenderGroup::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_shape);

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_ExtenderGroup::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[7]),sipPySelf,NULL,sipName_initStyleOption);

    if (!meth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

QSizeF sipPlasma_ExtenderGroup::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[8]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QGraphicsWidget::sizeHint(a0,a1);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,meth,a0,a1);
}

void sipPlasma_ExtenderGroup::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_updateGeometry);

    if (!meth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_ExtenderGroup::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[10],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsWidget::itemChange(a0,a1);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,meth,a0,a1);
}

QVariant sipPlasma_ExtenderGroup::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[11],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_ExtenderGroup::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],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_ExtenderGroup::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],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_ExtenderGroup::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[14]),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_ExtenderGroup::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],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_ExtenderGroup::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

bool sipPlasma_ExtenderGroup::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],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_ExtenderGroup::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_polishEvent);

    if (!meth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_ExtenderGroup::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipPlasma_ExtenderGroup::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[32],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_ExtenderGroup::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::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[36],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::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[37],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_advance);

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_ExtenderGroup::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[39]),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_ExtenderGroup::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[40]),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_ExtenderGroup::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[41]),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_ExtenderGroup::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[42]),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_ExtenderGroup::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_ExtenderGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_ExtenderGroup::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[51]),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_ExtenderGroup::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        Plasma::ExtenderItem::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

bool sipPlasma_ExtenderGroup::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[58],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return Plasma::ExtenderItem::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_ExtenderGroup::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_ExtenderGroup::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_ExtenderGroup::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_ExtenderGroup::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_ExtenderGroup::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_ExtenderGroup::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

int sipPlasma_ExtenderGroup::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_ExtenderGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

QSizeF sipPlasma_ExtenderGroup::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_ExtenderGroup::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

QVariant sipPlasma_ExtenderGroup::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_ExtenderGroup::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_ExtenderGroup::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_ExtenderGroup::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_ExtenderGroup::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusInEvent(a0) : focusInEvent(a0));
}

bool sipPlasma_ExtenderGroup::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_ExtenderGroup::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_paint(bool sipSelfWasArg,QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::paint(a0,a1,a2) : paint(a0,a1,a2));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::resizeEvent(a0) : resizeEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_ExtenderGroup::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::ExtenderItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

bool sipPlasma_ExtenderGroup::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::ExtenderItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_setGraphicsItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_setOwnedByLayout);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_hoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_prepareGeometryChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ExtenderGroup,&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 14443 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_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_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_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_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_sceneEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_windowFrameEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_windowFrameSectionAt);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_polishEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_grabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_ungrabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_grabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_ungrabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_paint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        QWidget * a2;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8J8",&sipSelf,sipType_Plasma_ExtenderGroup,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionGraphicsItem,&a1,sipType_QWidget,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paint(sipSelfWasArg,a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_paint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_hoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_hoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_ExtenderGroup,&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_ExtenderGroup,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_items(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_items(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderGroup,&sipCpp))
        {
            QList<Plasma::ExtenderItem *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::ExtenderItem *>(sipCpp->items());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201Plasma_ExtenderItem,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_items);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_autoHide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_autoHide(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderGroup,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoHide();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_autoHide);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_setAutoHide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_setAutoHide(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_ExtenderGroup,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoHide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_setAutoHide);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_expandGroup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_expandGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderGroup,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->expandGroup();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_expandGroup);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ExtenderGroup_collapseGroup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ExtenderGroup_collapseGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ExtenderGroup,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->collapseGroup();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ExtenderGroup,sipName_collapseGroup);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ExtenderGroup(void *, const sipTypeDef *);}
static void *cast_Plasma_ExtenderGroup(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_ExtenderGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_ExtenderItem)->ctd_cast((Plasma::ExtenderItem *)(Plasma::ExtenderGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ExtenderGroup(void *, int);}
static void release_Plasma_ExtenderGroup(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_ExtenderGroup *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::ExtenderGroup *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ExtenderGroup(sipSimpleWrapper *);}
static void dealloc_Plasma_ExtenderGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ExtenderGroup *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ExtenderGroup(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_ExtenderGroup(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_ExtenderGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipPlasma_ExtenderGroup *sipCpp = 0;

    if (!sipCpp)
    {
        Plasma::Extender * a0;
        uint a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8|u",sipType_Plasma_Extender,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ExtenderGroup(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_ExtenderGroup[] = {{45, 255, 1}};


static PyMethodDef methods_Plasma_ExtenderGroup[] = {
    {SIP_MLNAME_CAST(sipName_autoHide), meth_Plasma_ExtenderGroup_autoHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_ExtenderGroup_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_ExtenderGroup_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_ExtenderGroup_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collapseGroup), meth_Plasma_ExtenderGroup_collapseGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_ExtenderGroup_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_ExtenderGroup_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_ExtenderGroup_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_ExtenderGroup_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_ExtenderGroup_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_ExtenderGroup_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_ExtenderGroup_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_ExtenderGroup_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_ExtenderGroup_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_expandGroup), meth_Plasma_ExtenderGroup_expandGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_ExtenderGroup_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_ExtenderGroup_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_ExtenderGroup_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_ExtenderGroup_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_ExtenderGroup_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_ExtenderGroup_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_ExtenderGroup_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_ExtenderGroup_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_ExtenderGroup_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_ExtenderGroup_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_ExtenderGroup_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_ExtenderGroup_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_ExtenderGroup_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_Plasma_ExtenderGroup_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_ExtenderGroup_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_ExtenderGroup_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_ExtenderGroup_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_ExtenderGroup_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_ExtenderGroup_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_ExtenderGroup_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_ExtenderGroup_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_ExtenderGroup_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_ExtenderGroup_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_ExtenderGroup_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_ExtenderGroup_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_ExtenderGroup_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ExtenderGroup_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_ExtenderGroup_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_ExtenderGroup_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoHide), meth_Plasma_ExtenderGroup_setAutoHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_ExtenderGroup_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_ExtenderGroup_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_ExtenderGroup_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_ExtenderGroup_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_ExtenderGroup_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_ExtenderGroup_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_ExtenderGroup_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_ExtenderGroup_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_ExtenderGroup_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_ExtenderGroup_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_ExtenderGroup_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_ExtenderGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ExtenderGroup,
        {0}
    },
    sipNameNr_ExtenderGroup,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_ExtenderGroup,
    0,
    56, methods_Plasma_ExtenderGroup,
    0, 0,
    0, 0,
    init_Plasma_ExtenderGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ExtenderGroup,
    release_Plasma_ExtenderGroup,
    cast_Plasma_ExtenderGroup,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::ExtenderGroup::staticMetaObject,
    0,
    0
};

#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 15802 "sipplasmapart5.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 15806 "sipplasmapart5.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 15809 "sipplasmapart5.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15812 "sipplasmapart5.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15815 "sipplasmapart5.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15818 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15821 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15824 "sipplasmapart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 15827 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15830 "sipplasmapart5.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 15851 "sipplasmapart5.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 15854 "sipplasmapart5.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 15857 "sipplasmapart5.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 15860 "sipplasmapart5.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 15863 "sipplasmapart5.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 15866 "sipplasmapart5.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 15869 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15872 "sipplasmapart5.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 15933 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15936 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 15939 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 15942 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15945 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 15948 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 15951 "sipplasmapart5.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 15956 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 15959 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 15962 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 15965 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 15968 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 15971 "sipplasmapart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 15974 "sipplasmapart5.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 15979 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 15982 "sipplasmapart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 15985 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 15988 "sipplasmapart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 15991 "sipplasmapart5.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 15996 "sipplasmapart5.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 16001 "sipplasmapart5.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 16006 "sipplasmapart5.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 16011 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 16014 "sipplasmapart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 16017 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 16020 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 16023 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 16026 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16029 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16032 "sipplasmapart5.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16035 "sipplasmapart5.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16038 "sipplasmapart5.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16041 "sipplasmapart5.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16044 "sipplasmapart5.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16047 "sipplasmapart5.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16050 "sipplasmapart5.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 16053 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16056 "sipplasmapart5.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 16087 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 16090 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 16093 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16096 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16099 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 16102 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16105 "sipplasmapart5.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 16110 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 16113 "sipplasmapart5.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16116 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16119 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 16122 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 16125 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16128 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 16131 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16134 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16137 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 16140 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16143 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16146 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 16149 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 16152 "sipplasmapart5.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16155 "sipplasmapart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 16158 "sipplasmapart5.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 16163 "sipplasmapart5.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16166 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 16169 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16172 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 16175 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16178 "sipplasmapart5.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16181 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 16184 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 16187 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 16190 "sipplasmapart5.cpp"


class sipPlasma_Extender : public Plasma::Extender
{
public:
    sipPlasma_Extender(Plasma::Applet *);
    virtual ~sipPlasma_Extender();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    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 sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) 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 *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    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_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_itemAddedEvent(bool,Plasma::ExtenderItem *,const QPointF&);
    void sipProtectVirt_itemRemovedEvent(bool,Plasma::ExtenderItem *);
    void sipProtectVirt_itemHoverEnterEvent(bool,Plasma::ExtenderItem *);
    void sipProtectVirt_itemHoverMoveEvent(bool,Plasma::ExtenderItem *,const QPointF&);
    void sipProtectVirt_itemHoverLeaveEvent(bool,Plasma::ExtenderItem *);
    void sipProtectVirt_saveState(bool);
    Plasma::FrameSvg::EnabledBorders sipProtectVirt_enabledBordersForItem(bool,Plasma::ExtenderItem *) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(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:
    void itemAddedEvent(Plasma::ExtenderItem *,const QPointF&);
    void itemRemovedEvent(Plasma::ExtenderItem *);
    void itemHoverEnterEvent(Plasma::ExtenderItem *);
    void itemHoverMoveEvent(Plasma::ExtenderItem *,const QPointF&);
    void itemHoverLeaveEvent(Plasma::ExtenderItem *);
    void saveState();
    Plasma::FrameSvg::EnabledBorders enabledBordersForItem(Plasma::ExtenderItem *) const;
    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_Extender(const sipPlasma_Extender &);
    sipPlasma_Extender &operator = (const sipPlasma_Extender &);

    char sipPyMethods[67];
};

sipPlasma_Extender::sipPlasma_Extender(Plasma::Applet *a0): Plasma::Extender(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Extender::~sipPlasma_Extender()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Extender::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Extender);
}

int sipPlasma_Extender::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Extender::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Extender,_c,_id,_a);

    return _id;
}

void *sipPlasma_Extender::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Extender,_clname)) ? this : Plasma::Extender::qt_metacast(_clname);
}

void sipPlasma_Extender::itemAddedEvent(Plasma::ExtenderItem *a0,const QPointF& a1)
{
    extern void sipVH_plasma_12(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_itemAddedEvent);

    if (!meth)
    {
        Plasma::Extender::itemAddedEvent(a0,a1);
        return;
    }

    sipVH_plasma_12(sipGILState,meth,a0,a1);
}

void sipPlasma_Extender::itemRemovedEvent(Plasma::ExtenderItem *a0)
{
    extern void sipVH_plasma_11(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_itemRemovedEvent);

    if (!meth)
    {
        Plasma::Extender::itemRemovedEvent(a0);
        return;
    }

    sipVH_plasma_11(sipGILState,meth,a0);
}

void sipPlasma_Extender::itemHoverEnterEvent(Plasma::ExtenderItem *a0)
{
    extern void sipVH_plasma_11(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_itemHoverEnterEvent);

    if (!meth)
    {
        Plasma::Extender::itemHoverEnterEvent(a0);
        return;
    }

    sipVH_plasma_11(sipGILState,meth,a0);
}

void sipPlasma_Extender::itemHoverMoveEvent(Plasma::ExtenderItem *a0,const QPointF& a1)
{
    extern void sipVH_plasma_12(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_itemHoverMoveEvent);

    if (!meth)
    {
        Plasma::Extender::itemHoverMoveEvent(a0,a1);
        return;
    }

    sipVH_plasma_12(sipGILState,meth,a0,a1);
}

void sipPlasma_Extender::itemHoverLeaveEvent(Plasma::ExtenderItem *a0)
{
    extern void sipVH_plasma_11(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_itemHoverLeaveEvent);

    if (!meth)
    {
        Plasma::Extender::itemHoverLeaveEvent(a0);
        return;
    }

    sipVH_plasma_11(sipGILState,meth,a0);
}

void sipPlasma_Extender::saveState()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_saveState);

    if (!meth)
    {
        Plasma::Extender::saveState();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

Plasma::FrameSvg::EnabledBorders sipPlasma_Extender::enabledBordersForItem(Plasma::ExtenderItem *a0) const
{
    extern Plasma::FrameSvg::EnabledBorders sipVH_plasma_10(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_enabledBordersForItem);

    if (!meth)
        return Plasma::Extender::enabledBordersForItem(a0);

    return sipVH_plasma_10(sipGILState,meth,a0);
}

void sipPlasma_Extender::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[7],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::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[8]),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_Extender::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_type);

    if (!meth)
        return QGraphicsWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipPlasma_Extender::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[10],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_Extender::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[11],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_Extender::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_boundingRect);

    if (!meth)
        return QGraphicsWidget::boundingRect();

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

QPainterPath sipPlasma_Extender::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_shape);

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_Extender::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[14]),sipPySelf,NULL,sipName_initStyleOption);

    if (!meth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

QSizeF sipPlasma_Extender::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[15]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QGraphicsWidget::sizeHint(a0,a1);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,meth,a0,a1);
}

void sipPlasma_Extender::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_updateGeometry);

    if (!meth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_Extender::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[17],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return Plasma::Extender::itemChange(a0,a1);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,meth,a0,a1);
}

QVariant sipPlasma_Extender::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[18],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_Extender::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],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_Extender::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],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_Extender::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[21]),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_Extender::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],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_Extender::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

bool sipPlasma_Extender::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],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_Extender::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_polishEvent);

    if (!meth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_Extender::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::Extender::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::ungrabMouseEvent(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_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipPlasma_Extender::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[39],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_Extender::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::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[43],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::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[44],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_advance);

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_Extender::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[46]),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_Extender::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[47]),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_Extender::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[48]),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_Extender::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[49]),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_Extender::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_Extender::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        Plasma::Extender::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        Plasma::Extender::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        Plasma::Extender::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        Plasma::Extender::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_Extender::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[58]),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_Extender::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsItem::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        Plasma::Extender::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

bool sipPlasma_Extender::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[65],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_Extender::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_Extender::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_Extender::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_Extender::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_Extender::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_Extender::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_Extender::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipPlasma_Extender::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_Extender::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

int sipPlasma_Extender::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_Extender::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_Extender::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_Extender::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

QSizeF sipPlasma_Extender::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_Extender::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_Extender::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_Extender::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_Extender::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_Extender::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_Extender::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_Extender::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusInEvent(a0) : focusInEvent(a0));
}

bool sipPlasma_Extender::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_Extender::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_Extender::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_itemAddedEvent(bool sipSelfWasArg,Plasma::ExtenderItem *a0,const QPointF& a1)
{
    (sipSelfWasArg ? Plasma::Extender::itemAddedEvent(a0,a1) : itemAddedEvent(a0,a1));
}

void sipPlasma_Extender::sipProtectVirt_itemRemovedEvent(bool sipSelfWasArg,Plasma::ExtenderItem *a0)
{
    (sipSelfWasArg ? Plasma::Extender::itemRemovedEvent(a0) : itemRemovedEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_itemHoverEnterEvent(bool sipSelfWasArg,Plasma::ExtenderItem *a0)
{
    (sipSelfWasArg ? Plasma::Extender::itemHoverEnterEvent(a0) : itemHoverEnterEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_itemHoverMoveEvent(bool sipSelfWasArg,Plasma::ExtenderItem *a0,const QPointF& a1)
{
    (sipSelfWasArg ? Plasma::Extender::itemHoverMoveEvent(a0,a1) : itemHoverMoveEvent(a0,a1));
}

void sipPlasma_Extender::sipProtectVirt_itemHoverLeaveEvent(bool sipSelfWasArg,Plasma::ExtenderItem *a0)
{
    (sipSelfWasArg ? Plasma::Extender::itemHoverLeaveEvent(a0) : itemHoverLeaveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_saveState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Plasma::Extender::saveState() : saveState());
}

Plasma::FrameSvg::EnabledBorders sipPlasma_Extender::sipProtectVirt_enabledBordersForItem(bool sipSelfWasArg,Plasma::ExtenderItem *a0) const
{
    return (sipSelfWasArg ? Plasma::Extender::enabledBordersForItem(a0) : enabledBordersForItem(a0));
}

QVariant sipPlasma_Extender::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? Plasma::Extender::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipPlasma_Extender::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Extender::resizeEvent(a0) : resizeEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Extender::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::Extender::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::Extender::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::Extender::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_Extender::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::Extender::dropEvent(a0) : dropEvent(a0));
}


extern "C" {static PyObject *meth_Plasma_Extender_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_setGraphicsItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_setOwnedByLayout);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_hoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_prepareGeometryChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Extender,&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 18226 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_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_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_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_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_sceneEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_windowFrameEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_windowFrameSectionAt);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_polishEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_hoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_hoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_grabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_ungrabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_grabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_ungrabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_setEmptyExtenderMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_setEmptyExtenderMessage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEmptyExtenderMessage(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_setEmptyExtenderMessage);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_emptyExtenderMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_emptyExtenderMessage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->emptyExtenderMessage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_emptyExtenderMessage);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_items(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_items(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            QList<Plasma::ExtenderItem *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::ExtenderItem *>(sipCpp->items());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201Plasma_ExtenderItem,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_items);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_attachedItems(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_attachedItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            QList<Plasma::ExtenderItem *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::ExtenderItem *>(sipCpp->attachedItems());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201Plasma_ExtenderItem,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_attachedItems);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_detachedItems(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_detachedItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            QList<Plasma::ExtenderItem *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::ExtenderItem *>(sipCpp->detachedItems());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201Plasma_ExtenderItem,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_detachedItems);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_item(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_item(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Plasma::ExtenderItem *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->item(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_ExtenderItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_item);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_group(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_group(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Plasma::ExtenderGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->group(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_ExtenderGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_group);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_hasItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_hasItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasItem(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_hasItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_isEmpty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_isEmpty);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_setAppearance(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_setAppearance(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender::Appearance a0;
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_Extender_Appearance,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAppearance(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_setAppearance);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_appearance(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_appearance(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            Plasma::Extender::Appearance sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->appearance();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Extender_Appearance);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_appearance);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_groups(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_groups(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            QList<Plasma::ExtenderGroup *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::ExtenderGroup *>(sipCpp->groups());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201Plasma_ExtenderGroup,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_groups);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_itemAddedEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_itemAddedEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        const QPointF& a1def = QPointF(-1,-1);
        const QPointF * a1 = &a1def;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8|J9",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_ExtenderItem,&a0,sipType_QPointF,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_itemAddedEvent(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_itemAddedEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_itemRemovedEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_itemRemovedEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_ExtenderItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_itemRemovedEvent(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_Extender,sipName_itemRemovedEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_itemHoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_itemHoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_ExtenderItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_itemHoverEnterEvent(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_Extender,sipName_itemHoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_itemHoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_itemHoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        const QPointF * a1;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J9",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_ExtenderItem,&a0,sipType_QPointF,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_itemHoverMoveEvent(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_itemHoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_itemHoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_itemHoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_ExtenderItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_itemHoverLeaveEvent(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_Extender,sipName_itemHoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_saveState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_saveState(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Extender,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(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_Extender,sipName_saveState);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_enabledBordersForItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_enabledBordersForItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&sipCpp,sipType_Plasma_ExtenderItem,&a0))
        {
            Plasma::FrameSvg::EnabledBorders *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders(sipCpp->sipProtectVirt_enabledBordersForItem(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Extender,sipName_enabledBordersForItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Extender_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Extender_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Extender *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Extender,&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_Extender,sipName_dropEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Extender(void *, const sipTypeDef *);}
static void *cast_Plasma_Extender(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Extender)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::Extender *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Extender(void *, int);}
static void release_Plasma_Extender(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Extender *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Extender *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Extender(sipSimpleWrapper *);}
static void dealloc_Plasma_Extender(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Extender *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Extender(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_Extender(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_Extender(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipPlasma_Extender *sipCpp = 0;

    if (!sipCpp)
    {
        Plasma::Applet * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_Plasma_Applet,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Extender(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_Extender[] = {{190, 2, 1}};


static PyMethodDef methods_Plasma_Extender[] = {
    {SIP_MLNAME_CAST(sipName_appearance), meth_Plasma_Extender_appearance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_attachedItems), meth_Plasma_Extender_attachedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_Extender_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Extender_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_Extender_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Extender_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_Extender_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Extender_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detachedItems), meth_Plasma_Extender_detachedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Extender_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_Extender_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_Extender_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_Extender_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_Extender_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emptyExtenderMessage), meth_Plasma_Extender_emptyExtenderMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledBordersForItem), meth_Plasma_Extender_enabledBordersForItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Extender_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_Extender_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_Extender_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_Extender_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_Extender_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_Extender_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_Plasma_Extender_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groups), meth_Plasma_Extender_groups, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasItem), meth_Plasma_Extender_hasItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_Extender_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_Extender_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_Extender_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_Extender_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_Extender_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_Extender_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_Extender_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_Plasma_Extender_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_item), meth_Plasma_Extender_item, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAddedEvent), meth_Plasma_Extender_itemAddedEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_Extender_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemHoverEnterEvent), meth_Plasma_Extender_itemHoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemHoverLeaveEvent), meth_Plasma_Extender_itemHoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemHoverMoveEvent), meth_Plasma_Extender_itemHoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemRemovedEvent), meth_Plasma_Extender_itemRemovedEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_Plasma_Extender_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_Extender_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_Extender_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_Extender_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Extender_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Extender_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_Extender_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_Extender_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_Extender_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_Extender_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_Extender_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Extender_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Extender_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_Extender_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_Extender_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_Extender_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAppearance), meth_Plasma_Extender_setAppearance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEmptyExtenderMessage), meth_Plasma_Extender_setEmptyExtenderMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_Extender_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_Extender_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_Extender_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Extender_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Extender_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_Extender_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_Extender_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_Extender_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_Extender_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_Extender_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_Extender_windowFrameSectionAt, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Extender[] = {
    {sipName_BottomUpStacked, Plasma::Extender::BottomUpStacked, 43},
    {sipName_NoBorders, Plasma::Extender::NoBorders, 43},
    {sipName_TopDownStacked, Plasma::Extender::TopDownStacked, 43},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_Extender[] = {
    {"geometryChanged()", 0},
    {"itemDetached(Plasma::ExtenderItem *)", 0},
    {"itemAttached(Plasma::ExtenderItem *)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Extender = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Extender,
        {0}
    },
    sipNameNr_Extender,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_Extender,
    0,
    69, methods_Plasma_Extender,
    3, enummembers_Plasma_Extender,
    0, 0,
    init_Plasma_Extender,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Extender,
    release_Plasma_Extender,
    cast_Plasma_Extender,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::Extender::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Extender
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 19994 "sipplasmapart5.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 19998 "sipplasmapart5.cpp"


extern "C" {static int slot_Plasma_Dialog_ResizeCorners___bool__(PyObject *sipSelf);}
static int slot_Plasma_Dialog_ResizeCorners___bool__(PyObject *sipSelf)
{
    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 20016 "sipplasmapart5.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 20044 "sipplasmapart5.cpp"

            sipReleaseType(const_cast<Plasma::Dialog::ResizeCorners *>(a0),sipType_Plasma_Dialog_ResizeCorners,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_Dialog_ResizeCorners,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 20076 "sipplasmapart5.cpp"

            sipReleaseType(const_cast<Plasma::Dialog::ResizeCorners *>(a0),sipType_Plasma_Dialog_ResizeCorners,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_Dialog_ResizeCorners,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___invert__(PyObject *sipSelf)
{
    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Dialog::ResizeCorners *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Dialog::ResizeCorners(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,NULL);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State,&a1))
        {
            Plasma::Dialog::ResizeCorners *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Dialog::ResizeCorners((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;
        Plasma::Dialog::ResizeCorners * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State,sipType_Plasma_Dialog_ResizeCorners,&a1,&a1State))
        {
            Plasma::Dialog::ResizeCorners *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Dialog::ResizeCorners((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);
            sipReleaseType(a1,sipType_Plasma_Dialog_ResizeCorners,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;
        Plasma::Dialog::ResizeCorners * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State,sipType_Plasma_Dialog_ResizeCorners,&a1,&a1State))
        {
            Plasma::Dialog::ResizeCorners *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Dialog::ResizeCorners((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);
            sipReleaseType(a1,sipType_Plasma_Dialog_ResizeCorners,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___int__(PyObject *sipSelf)
{
    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorners)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Dialog::ResizeCorners::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorners)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Dialog::ResizeCorners::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorners)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Dialog::ResizeCorners::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_Dialog_ResizeCorners(void *, const sipTypeDef *);}
static void *cast_Plasma_Dialog_ResizeCorners(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Dialog_ResizeCorners)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Dialog_ResizeCorners(void *, int);}
static void release_Plasma_Dialog_ResizeCorners(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Dialog_ResizeCorners(void *, const void*);}
static void assign_Plasma_Dialog_ResizeCorners(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipDst) = *reinterpret_cast<const Plasma::Dialog::ResizeCorners *>(sipSrc);
}


extern "C" {static void dealloc_Plasma_Dialog_ResizeCorners(sipSimpleWrapper *);}
static void dealloc_Plasma_Dialog_ResizeCorners(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Dialog_ResizeCorners(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_Dialog_ResizeCorners(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_Dialog_ResizeCorners(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::Dialog::ResizeCorners *sipCpp = 0;

    if (!sipCpp)
    {
        const Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Dialog::ResizeCorners(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::Dialog::ResizeCorners *>(a0),sipType_Plasma_Dialog_ResizeCorners,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Dialog::ResizeCorners(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Dialog::ResizeCorners();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static int convertTo_Plasma_Dialog_ResizeCorners(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Dialog_ResizeCorners(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::Dialog::ResizeCorners **sipCppPtr = reinterpret_cast<Plasma::Dialog::ResizeCorners **>(sipCppPtrV);

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Dialog::ResizeCorners is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorner)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Dialog_ResizeCorners, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorner)))
{
    *sipCppPtr = new Plasma::Dialog::ResizeCorners(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipConvertToType(sipPy, sipType_Plasma_Dialog_ResizeCorners, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 20447 "sipplasmapart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Dialog_ResizeCorners[] = {
    {(void *)slot_Plasma_Dialog_ResizeCorners___bool__, bool_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ne__, ne_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___eq__, eq_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___invert__, invert_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___and__, and_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___xor__, xor_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___or__, or_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___int__, int_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ixor__, ixor_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ior__, ior_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Dialog_ResizeCorners = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Dialog__ResizeCorners,
        {0}
    },
    sipNameNr_ResizeCorners,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {38, 255, 0},
    0,
    slots_Plasma_Dialog_ResizeCorners,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_Dialog_ResizeCorners,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Dialog_ResizeCorners,
    release_Plasma_Dialog_ResizeCorners,
    cast_Plasma_Dialog_ResizeCorners,
    convertTo_Plasma_Dialog_ResizeCorners,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_Dialog_ResizeCorners,
    0,
    1,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 20515 "sipplasmapart5.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20519 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20522 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20525 "sipplasmapart5.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20528 "sipplasmapart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20531 "sipplasmapart5.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20534 "sipplasmapart5.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20537 "sipplasmapart5.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20540 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20543 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20546 "sipplasmapart5.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20549 "sipplasmapart5.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20552 "sipplasmapart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 20555 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 20558 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 20561 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20564 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 20567 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 20570 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 20573 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20576 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 20579 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20582 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20585 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20588 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20591 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 20594 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 20597 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 20600 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 20603 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20606 "sipplasmapart5.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 20611 "sipplasmapart5.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20614 "sipplasmapart5.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20617 "sipplasmapart5.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20620 "sipplasmapart5.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20623 "sipplasmapart5.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20626 "sipplasmapart5.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20629 "sipplasmapart5.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20632 "sipplasmapart5.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20635 "sipplasmapart5.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20638 "sipplasmapart5.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20641 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 20644 "sipplasmapart5.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 20647 "sipplasmapart5.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 20650 "sipplasmapart5.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 20711 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 20714 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 20717 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 20720 "sipplasmapart5.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 20725 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 20728 "sipplasmapart5.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20731 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 20734 "sipplasmapart5.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20737 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 20740 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 20743 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 20746 "sipplasmapart5.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 20749 "sipplasmapart5.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 20754 "sipplasmapart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 20757 "sipplasmapart5.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 20760 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 20763 "sipplasmapart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 20766 "sipplasmapart5.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 20771 "sipplasmapart5.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 20776 "sipplasmapart5.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 20781 "sipplasmapart5.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 20786 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 20789 "sipplasmapart5.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 20792 "sipplasmapart5.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 20795 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 20798 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 20801 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 20804 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 20807 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20810 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 20813 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 20816 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 20819 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 20822 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20825 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20828 "sipplasmapart5.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 20859 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 20862 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 20865 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 20868 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 20871 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20874 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20877 "sipplasmapart5.cpp"


class sipPlasma_Dialog : public Plasma::Dialog
{
public:
    sipPlasma_Dialog(QWidget *,Qt::WindowFlags);
    virtual ~sipPlasma_Dialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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 sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    bool sipProtect_inControlArea(const QPoint&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void closeEvent(QCloseEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    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_Dialog(const sipPlasma_Dialog &);
    sipPlasma_Dialog &operator = (const sipPlasma_Dialog &);

    char sipPyMethods[47];
};

sipPlasma_Dialog::sipPlasma_Dialog(QWidget *a0,Qt::WindowFlags a1): Plasma::Dialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Dialog::~sipPlasma_Dialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Dialog::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Dialog);
}

int sipPlasma_Dialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Dialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Dialog,_c,_id,_a);

    return _id;
}

void *sipPlasma_Dialog::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Dialog,_clname)) ? this : Plasma::Dialog::qt_metacast(_clname);
}

int sipPlasma_Dialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipPlasma_Dialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipPlasma_Dialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QWidget::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_plasma_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipPlasma_Dialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_plasma_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipPlasma_Dialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_plasma_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipPlasma_Dialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_plasma_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipPlasma_Dialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!meth)
        return Plasma::Dialog::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        Plasma::Dialog::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_plasma_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        Plasma::Dialog::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_plasma_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_plasma_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        Plasma::Dialog::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_plasma_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_plasma_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        Plasma::Dialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        Plasma::Dialog::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_plasma_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        Plasma::Dialog::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::Dialog::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_plasma_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_plasma_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_plasma_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_plasma_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_plasma_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_plasma_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_plasma_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        Plasma::Dialog::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        Plasma::Dialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipPlasma_Dialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_plasma_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_Dialog::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[34]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_Dialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_plasma_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipPlasma_Dialog::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[41],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return Plasma::Dialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_Dialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::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[45],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_Dialog::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[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipPlasma_Dialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_Dialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_Dialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_Dialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipPlasma_Dialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipPlasma_Dialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipPlasma_Dialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipPlasma_Dialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipPlasma_Dialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipPlasma_Dialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipPlasma_Dialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipPlasma_Dialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipPlasma_Dialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipPlasma_Dialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipPlasma_Dialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipPlasma_Dialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipPlasma_Dialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipPlasma_Dialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipPlasma_Dialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::paintEvent(a0) : paintEvent(a0));
}

bool sipPlasma_Dialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? Plasma::Dialog::event(a0) : event(a0));
}

void sipPlasma_Dialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::resizeEvent(a0) : resizeEvent(a0));
}

bool sipPlasma_Dialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Dialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipPlasma_Dialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::showEvent(a0) : showEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_Dialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? Plasma::Dialog::moveEvent(a0) : moveEvent(a0));
}

bool sipPlasma_Dialog::sipProtect_inControlArea(const QPoint& a0)
{
    return Plasma::Dialog::inControlArea(a0);
}


extern "C" {static PyObject *meth_Plasma_Dialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Dialog,&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 22118 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QMouseEvent,&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_Dialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QWheelEvent,&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_Dialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(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_Dialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(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_Dialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QContextMenuEvent,&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_Dialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(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_Dialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(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_Dialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QDragEnterEvent,&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_Dialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QDragMoveEvent,&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_Dialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QDragLeaveEvent,&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_Dialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QDropEvent,&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_Dialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_metric(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_create(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_Plasma_Dialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_Plasma_Dialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(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_Dialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(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_Dialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(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_Dialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(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_Dialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(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_Dialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_setGraphicsWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_setGraphicsWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsWidget * a0;
        Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QGraphicsWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGraphicsWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_setGraphicsWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_graphicsWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_graphicsWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            QGraphicsWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->graphicsWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_graphicsWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_setResizeHandleCorners(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_setResizeHandleCorners(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Dialog::ResizeCorners * a0;
        int a0State = 0;
        Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_Plasma_Dialog_ResizeCorners,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResizeHandleCorners(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_setResizeHandleCorners);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_resizeCorners(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_resizeCorners(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Dialog,&sipCpp))
        {
            Plasma::Dialog::ResizeCorners *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Dialog::ResizeCorners(sipCpp->resizeCorners());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_resizeCorners);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_animatedHide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_animatedHide(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Direction a0;
        Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_Plasma_Direction,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->animatedHide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_animatedHide);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_animatedShow(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_animatedShow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Direction a0;
        Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_Plasma_Direction,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->animatedShow(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_animatedShow);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(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_Dialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QResizeEvent,&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_Dialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QMouseEvent,&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_Dialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QMouseEvent,&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_Dialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QMouseEvent,&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_Dialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&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_Dialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QMoveEvent,&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_Dialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Dialog_inControlArea(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Dialog_inControlArea(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QPoint * a0;
        sipPlasma_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_Dialog,&sipCpp,sipType_QPoint,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_inControlArea(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_inControlArea);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Dialog(void *, const sipTypeDef *);}
static void *cast_Plasma_Dialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Dialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(Plasma::Dialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Dialog(void *, int);}
static void release_Plasma_Dialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Dialog *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Dialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Dialog(sipSimpleWrapper *);}
static void dealloc_Plasma_Dialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Dialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Dialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_Dialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_Dialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_Dialog *sipCpp = 0;

    if (!sipCpp)
    {
        QWidget * a0 = 0;
        Qt::WindowFlags a1def = Qt::Window;
        Qt::WindowFlags * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JHJ1",sipType_QWidget,&a0,sipOwner,sipType_Qt_WindowFlags,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Dialog(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_Dialog[] = {{683, 2, 1}};


static PyMethodDef methods_Plasma_Dialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Plasma_Dialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animatedHide), meth_Plasma_Dialog_animatedHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animatedShow), meth_Plasma_Dialog_animatedShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_Dialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Dialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_Dialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Dialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_Dialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Plasma_Dialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Dialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Plasma_Dialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Dialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_Dialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_Dialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_Dialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_Dialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Plasma_Dialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Plasma_Dialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Dialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_Dialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_Dialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Plasma_Dialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_Dialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_Dialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Plasma_Dialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Plasma_Dialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicsWidget), meth_Plasma_Dialog_graphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_Dialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inControlArea), meth_Plasma_Dialog_inControlArea, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_Dialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_Dialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_Dialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Plasma_Dialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Plasma_Dialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Plasma_Dialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_Dialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Dialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Dialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_Dialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_Dialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Plasma_Dialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Plasma_Dialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Dialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Plasma_Dialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeCorners), meth_Plasma_Dialog_resizeCorners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Dialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsWidget), meth_Plasma_Dialog_setGraphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setResizeHandleCorners), meth_Plasma_Dialog_setResizeHandleCorners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_Dialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Plasma_Dialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Dialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Plasma_Dialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_Dialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Plasma_Dialog_windowActivationChange, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Dialog[] = {
    {sipName_All, Plasma::Dialog::All, 39},
    {sipName_NoCorner, Plasma::Dialog::NoCorner, 39},
    {sipName_NorthEast, Plasma::Dialog::NorthEast, 39},
    {sipName_NorthWest, Plasma::Dialog::NorthWest, 39},
    {sipName_SouthEast, Plasma::Dialog::SouthEast, 39},
    {sipName_SouthWest, Plasma::Dialog::SouthWest, 39},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_Dialog[] = {
    {"dialogVisible(bool)", 0},
    {"dialogResized()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Dialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Dialog,
        {0}
    },
    sipNameNr_Dialog,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_Dialog,
    0,
    54, methods_Plasma_Dialog,
    6, enummembers_Plasma_Dialog,
    0, 0,
    init_Plasma_Dialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Dialog,
    release_Plasma_Dialog,
    cast_Plasma_Dialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::Dialog::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Dialog
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/delegate.sip"
#include <plasma/delegate.h>
#line 23810 "sipplasmapart5.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23814 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 23817 "sipplasmapart5.cpp"
#line 836 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 23820 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23823 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 23826 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 23829 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23832 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 23835 "sipplasmapart5.cpp"
#line 574 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23838 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 23841 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23844 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 23847 "sipplasmapart5.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23850 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23853 "sipplasmapart5.cpp"
#line 133 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23856 "sipplasmapart5.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23859 "sipplasmapart5.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23862 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23865 "sipplasmapart5.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 23896 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 23899 "sipplasmapart5.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23902 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23905 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23908 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 23911 "sipplasmapart5.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23914 "sipplasmapart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23917 "sipplasmapart5.cpp"


class sipPlasma_Delegate : public Plasma::Delegate
{
public:
    sipPlasma_Delegate(QObject *);
    virtual ~sipPlasma_Delegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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 *);
    QRect sipProtect_rectAfterTitle(const QStyleOptionViewItem&,const QModelIndex&) const;
    QRect sipProtect_rectAfterSubTitle(const QStyleOptionViewItem&,const QModelIndex&) const;
    QRect sipProtect_emptyRect(const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sipProtectVirt_sizeHint(bool,const QStyleOptionViewItem&,const QModelIndex&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void paint(QPainter *,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    QWidget * createEditor(QWidget *,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setEditorData(QWidget *,const QModelIndex&) const;
    void setModelData(QWidget *,QAbstractItemModel *,const QModelIndex&) const;
    void updateEditorGeometry(QWidget *,const QStyleOptionViewItem&,const QModelIndex&) const;
    bool editorEvent(QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);
    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_Delegate(const sipPlasma_Delegate &);
    sipPlasma_Delegate &operator = (const sipPlasma_Delegate &);

    char sipPyMethods[14];
};

sipPlasma_Delegate::sipPlasma_Delegate(QObject *a0): Plasma::Delegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Delegate::~sipPlasma_Delegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Delegate::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Delegate);
}

int sipPlasma_Delegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Delegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Delegate,_c,_id,_a);

    return _id;
}

void *sipPlasma_Delegate::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Delegate,_clname)) ? this : Plasma::Delegate::qt_metacast(_clname);
}

void sipPlasma_Delegate::paint(QPainter *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    typedef void (*sipVH_QtGui_47)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        Plasma::Delegate::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_47)(sipModuleAPI_plasma_QtGui->em_virthandlers[47]))(sipGILState,meth,a0,a1,a2);
}

QSize sipPlasma_Delegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    typedef QSize (*sipVH_QtGui_79)(sip_gilstate_t,PyObject *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return Plasma::Delegate::sizeHint(a0,a1);

    return ((sipVH_QtGui_79)(sipModuleAPI_plasma_QtGui->em_virthandlers[79]))(sipGILState,meth,a0,a1);
}

QWidget * sipPlasma_Delegate::createEditor(QWidget *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    typedef QWidget * (*sipVH_QtGui_78)(sip_gilstate_t,PyObject *,QWidget *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_createEditor);

    if (!meth)
        return QAbstractItemDelegate::createEditor(a0,a1,a2);

    return ((sipVH_QtGui_78)(sipModuleAPI_plasma_QtGui->em_virthandlers[78]))(sipGILState,meth,a0,a1,a2);
}

void sipPlasma_Delegate::setEditorData(QWidget *a0,const QModelIndex& a1) const
{
    typedef void (*sipVH_QtGui_77)(sip_gilstate_t,PyObject *,QWidget *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_setEditorData);

    if (!meth)
    {
        QAbstractItemDelegate::setEditorData(a0,a1);
        return;
    }

    ((sipVH_QtGui_77)(sipModuleAPI_plasma_QtGui->em_virthandlers[77]))(sipGILState,meth,a0,a1);
}

void sipPlasma_Delegate::setModelData(QWidget *a0,QAbstractItemModel *a1,const QModelIndex& a2) const
{
    typedef void (*sipVH_QtGui_76)(sip_gilstate_t,PyObject *,QWidget *,QAbstractItemModel *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_setModelData);

    if (!meth)
    {
        QAbstractItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_76)(sipModuleAPI_plasma_QtGui->em_virthandlers[76]))(sipGILState,meth,a0,a1,a2);
}

void sipPlasma_Delegate::updateEditorGeometry(QWidget *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    typedef void (*sipVH_QtGui_75)(sip_gilstate_t,PyObject *,QWidget *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!meth)
    {
        QAbstractItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_75)(sipModuleAPI_plasma_QtGui->em_virthandlers[75]))(sipGILState,meth,a0,a1,a2);
}

bool sipPlasma_Delegate::editorEvent(QEvent *a0,QAbstractItemModel *a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    typedef bool (*sipVH_QtGui_72)(sip_gilstate_t,PyObject *,QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_editorEvent);

    if (!meth)
        return QAbstractItemDelegate::editorEvent(a0,a1,a2,a3);

    return ((sipVH_QtGui_72)(sipModuleAPI_plasma_QtGui->em_virthandlers[72]))(sipGILState,meth,a0,a1,a2,a3);
}

bool sipPlasma_Delegate::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],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_Delegate::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[8],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_Delegate::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_Delegate::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_Delegate::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_Delegate::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[12],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_Delegate::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[13],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipPlasma_Delegate::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_Delegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_Delegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_Delegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_Delegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_Delegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

QRect sipPlasma_Delegate::sipProtect_rectAfterTitle(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    return Plasma::Delegate::rectAfterTitle(a0,a1);
}

QRect sipPlasma_Delegate::sipProtect_rectAfterSubTitle(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    return Plasma::Delegate::rectAfterSubTitle(a0,a1);
}

QRect sipPlasma_Delegate::sipProtect_emptyRect(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    return Plasma::Delegate::emptyRect(a0,a1);
}

QSize sipPlasma_Delegate::sipProtectVirt_sizeHint(bool sipSelfWasArg,const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? Plasma::Delegate::sizeHint(a0,a1) : sizeHint(a0,a1));
}


extern "C" {static PyObject *meth_Plasma_Delegate_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Delegate,&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 24318 "sipplasmapart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Delegate,&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_Delegate,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Delegate,&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_Delegate,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_Delegate,&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_Delegate,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Delegate,&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_Delegate,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_Delegate,&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_Delegate,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_setRoleMapping(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_setRoleMapping(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Delegate::SpecificRoles a0;
        int a1;
        Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BEi",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_Plasma_Delegate_SpecificRoles,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRoleMapping(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_setRoleMapping);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_roleMapping(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_roleMapping(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Delegate::SpecificRoles a0;
        Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_Plasma_Delegate_SpecificRoles,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->roleMapping(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_roleMapping);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_paint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionViewItem * a1;
        const QModelIndex * a2;
        Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9J9",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionViewItem,&a1,sipType_QModelIndex,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Delegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_paint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_showToolTip(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_showToolTip(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Delegate,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showToolTip();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_showToolTip);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_rectAfterTitle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_rectAfterTitle(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_QStyleOptionViewItem,&a0,sipType_QModelIndex,&a1))
        {
            QRect *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->sipProtect_rectAfterTitle(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_rectAfterTitle);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_rectAfterSubTitle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_rectAfterSubTitle(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_QStyleOptionViewItem,&a0,sipType_QModelIndex,&a1))
        {
            QRect *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->sipProtect_rectAfterSubTitle(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_rectAfterSubTitle);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_emptyRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_emptyRect(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_QStyleOptionViewItem,&a0,sipType_QModelIndex,&a1))
        {
            QRect *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->sipProtect_emptyRect(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_emptyRect);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Delegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Delegate_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        sipPlasma_Delegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_Plasma_Delegate,&sipCpp,sipType_QStyleOptionViewItem,&a0,sipType_QModelIndex,&a1))
        {
            QSize *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Delegate,sipName_sizeHint);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Delegate(void *, const sipTypeDef *);}
static void *cast_Plasma_Delegate(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Delegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemDelegate)->ctd_cast((QAbstractItemDelegate *)(Plasma::Delegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Delegate(void *, int);}
static void release_Plasma_Delegate(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Delegate *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Delegate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Delegate(sipSimpleWrapper *);}
static void dealloc_Plasma_Delegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Delegate *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Delegate(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_Delegate(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_Delegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_Delegate *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Delegate(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_Delegate[] = {{3, 2, 1}};


static PyMethodDef methods_Plasma_Delegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Delegate_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Delegate_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Delegate_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Delegate_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emptyRect), meth_Plasma_Delegate_emptyRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Delegate_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Delegate_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rectAfterSubTitle), meth_Plasma_Delegate_rectAfterSubTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rectAfterTitle), meth_Plasma_Delegate_rectAfterTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_roleMapping), meth_Plasma_Delegate_roleMapping, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRoleMapping), meth_Plasma_Delegate_setRoleMapping, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showToolTip), meth_Plasma_Delegate_showToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Delegate_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Delegate_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Delegate[] = {
    {sipName_ColumnTypeRole, Plasma::Delegate::ColumnTypeRole, 37},
    {sipName_MainColumn, Plasma::Delegate::MainColumn, 36},
    {sipName_SecondaryActionColumn, Plasma::Delegate::SecondaryActionColumn, 36},
    {sipName_SubTitleMandatoryRole, Plasma::Delegate::SubTitleMandatoryRole, 37},
    {sipName_SubTitleRole, Plasma::Delegate::SubTitleRole, 37},
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Delegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Delegate,
        {0}
    },
    sipNameNr_Delegate,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_Delegate,
    0,
    14, methods_Plasma_Delegate,
    5, enummembers_Plasma_Delegate,
    0, 0,
    init_Plasma_Delegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Delegate,
    release_Plasma_Delegate,
    cast_Plasma_Delegate,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::Delegate::staticMetaObject,
    0,
    0
};
