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

#include "sipAPIplasma.h"

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

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


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

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

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_Plasma_PlotColor(SIP_SSIZE_T);}
static void *array_Plasma_PlotColor(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::PlotColor[sipNrElem];
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        const Plasma::PlotColor* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_Plasma_PlotColor_color(void *, PyObject *, PyObject *);}
static PyObject *varget_Plasma_PlotColor_color(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QColor*sipVal;
    Plasma::PlotColor *sipCpp = reinterpret_cast<Plasma::PlotColor *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -1);
    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->color;

    sipPy = sipConvertFromType(sipVal, sipType_QColor, NULL);
    sipKeepReference(sipPySelf, -1, sipPy);

    return sipPy;
}


extern "C" {static int varset_Plasma_PlotColor_color(void *, PyObject *, PyObject *);}
static int varset_Plasma_PlotColor_color(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QColor*sipVal;
    Plasma::PlotColor *sipCpp = reinterpret_cast<Plasma::PlotColor *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QColor *>(sipForceConvertToType(sipPy,sipType_QColor,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->color = *sipVal;

    sipReleaseType(sipVal, sipType_QColor, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_Plasma_PlotColor_darkColor(void *, PyObject *, PyObject *);}
static PyObject *varget_Plasma_PlotColor_darkColor(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QColor*sipVal;
    Plasma::PlotColor *sipCpp = reinterpret_cast<Plasma::PlotColor *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -2);
    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->darkColor;

    sipPy = sipConvertFromType(sipVal, sipType_QColor, NULL);
    sipKeepReference(sipPySelf, -2, sipPy);

    return sipPy;
}


extern "C" {static int varset_Plasma_PlotColor_darkColor(void *, PyObject *, PyObject *);}
static int varset_Plasma_PlotColor_darkColor(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QColor*sipVal;
    Plasma::PlotColor *sipCpp = reinterpret_cast<Plasma::PlotColor *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QColor *>(sipForceConvertToType(sipPy,sipType_QColor,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->darkColor = *sipVal;

    sipReleaseType(sipVal, sipType_QColor, sipValState);

    return 0;
}

sipVariableDef variables_Plasma_PlotColor[] = {
    {InstanceVariable, sipName_color, (PyMethodDef *)varget_Plasma_PlotColor_color, (PyMethodDef *)varset_Plasma_PlotColor_color, NULL, NULL},
    {InstanceVariable, sipName_darkColor, (PyMethodDef *)varget_Plasma_PlotColor_darkColor, (PyMethodDef *)varset_Plasma_PlotColor_darkColor, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PlotColor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__PlotColor,
        {0}
    },
    {
        sipNameNr_PlotColor,
        {1, 255, 0},
        0, 0,
        0, 0,
        2, variables_Plasma_PlotColor,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_Plasma_PlotColor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PlotColor,
    assign_Plasma_PlotColor,
    array_Plasma_PlotColor,
    copy_Plasma_PlotColor,
    release_Plasma_PlotColor,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/separator.sip"
#include <plasma/widgets/separator.h>
#line 239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 420 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 423 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 426 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 429 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_Separator : public Plasma::Separator
{
public:
    sipPlasma_Separator(QGraphicsItem*,Qt::WindowFlags);
    virtual ~sipPlasma_Separator();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[61];
};

sipPlasma_Separator::sipPlasma_Separator(QGraphicsItem*a0,Qt::WindowFlags a1): Plasma::Separator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_Separator::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Separator);
}

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

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

    return _id;
}

void *sipPlasma_Separator::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Separator, _clname)) ? this : Plasma::Separator::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        Qt::Orientation a0;
        Plasma::Separator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Separator, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrientation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Separator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Separator, &sipCpp))
        {
            Qt::Orientation sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->orientation();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

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

    return NULL;
}


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

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        Plasma::Separator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8J8", &sipSelf, sipType_Plasma_Separator, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Separator::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::SizeHint a0;
        const QSizeF* a1;
        const Plasma::Separator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_Separator, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

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

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

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

    return NULL;
}


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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QGraphicsItem* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J8J1", sipType_QGraphicsItem, &a0, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Separator(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Separator[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_Separator[] = {
    {SIP_MLNAME_CAST(sipName_orientation), meth_Plasma_Separator_orientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Separator_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_Plasma_Separator_setOrientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Separator_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Separator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Separator,
        {0}
    },
    {
        sipNameNr_Separator,
        {1, 255, 0},
        4, methods_Plasma_Separator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Separator,
    0,
    init_type_Plasma_Separator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Separator,
    0,
    0,
    0,
    release_Plasma_Separator,
    cast_Plasma_Separator,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Separator::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/scrollwidget.sip"
#include <plasma/widgets/scrollwidget.h>
#line 1811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1821 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1824 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1833 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 1836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1860 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1866 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1869 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1878 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1884 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 1887 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1893 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1896 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1899 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1902 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1905 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1908 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1911 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1914 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 1917 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1920 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1923 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1926 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1929 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1932 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1935 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1938 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1941 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1944 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1950 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 1953 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1956 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1959 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1962 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1965 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1971 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1974 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 1986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 2001 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 2004 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2007 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_ScrollWidget : public Plasma::ScrollWidget
{
public:
    sipPlasma_ScrollWidget(QGraphicsWidget*);
    virtual ~sipPlasma_ScrollWidget();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[61];
};

sipPlasma_ScrollWidget::sipPlasma_ScrollWidget(QGraphicsWidget*a0): Plasma::ScrollWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_ScrollWidget::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ScrollWidget);
}

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

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

    return _id;
}

void *sipPlasma_ScrollWidget::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ScrollWidget, _clname)) ? this : Plasma::ScrollWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Qt::ScrollBarPolicy a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_Qt_ScrollBarPolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHorizontalScrollBarPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp))
        {
            Qt::ScrollBarPolicy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->horizontalScrollBarPolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_ScrollBarPolicy);
        }
    }

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

    return NULL;
}


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

    {
        Qt::ScrollBarPolicy a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_Qt_ScrollBarPolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVerticalScrollBarPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp))
        {
            Qt::ScrollBarPolicy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->verticalScrollBarPolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_ScrollBarPolicy);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ScrollWidget::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::ScrollWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::ScrollWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneWheelEvent* a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ScrollWidget::wheelEvent(a0) : sipCpp->wheelEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QObject* a0;
        QEvent* a1;
        Plasma::ScrollWidget *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QRectF* a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QRectF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ensureRectVisible(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem* a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ensureItemVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unregisterAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->viewportGeometry());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->contentsSize());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QPointF* a0;
        int a0State = 0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScrollPosition(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->scrollPosition());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::ScrollWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent* a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ScrollWidget::focusInEvent(a0) : sipCpp->focusInEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::SizeHint a0;
        const QSizeF* a1;
        const Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

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

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

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

    return NULL;
}


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

    {
        Qt::Alignment* a0;
        int a0State = 0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlignment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp))
        {
            Qt::Alignment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->alignment());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOverShoot(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasOverShoot();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSnapSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->snapSize());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QKeyEvent* a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ScrollWidget::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem* a0;
        QEvent* a1;
        Plasma::ScrollWidget *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ScrollWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->overflowBordersVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::ScrollWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ScrollWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOverflowBordersVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QGraphicsWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ScrollWidget[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_ScrollWidget[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_Plasma_ScrollWidget_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsSize), meth_Plasma_ScrollWidget_contentsSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureItemVisible), meth_Plasma_ScrollWidget_ensureItemVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureRectVisible), meth_Plasma_ScrollWidget_ensureRectVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_ScrollWidget_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_ScrollWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasOverShoot), meth_Plasma_ScrollWidget_hasOverShoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollBarPolicy), meth_Plasma_ScrollWidget_horizontalScrollBarPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_ScrollWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_ScrollWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_ScrollWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_ScrollWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_ScrollWidget_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overflowBordersVisible), meth_Plasma_ScrollWidget_overflowBordersVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_ScrollWidget_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ScrollWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_ScrollWidget_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollPosition), meth_Plasma_ScrollWidget_scrollPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_Plasma_ScrollWidget_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalScrollBarPolicy), meth_Plasma_ScrollWidget_setHorizontalScrollBarPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOverShoot), meth_Plasma_ScrollWidget_setOverShoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOverflowBordersVisible), meth_Plasma_ScrollWidget_setOverflowBordersVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScrollPosition), meth_Plasma_ScrollWidget_setScrollPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSnapSize), meth_Plasma_ScrollWidget_setSnapSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_ScrollWidget_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVerticalScrollBarPolicy), meth_Plasma_ScrollWidget_setVerticalScrollBarPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_Plasma_ScrollWidget_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_ScrollWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_snapSize), meth_Plasma_ScrollWidget_snapSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_ScrollWidget_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_ScrollWidget_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollBarPolicy), meth_Plasma_ScrollWidget_verticalScrollBarPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportGeometry), meth_Plasma_ScrollWidget_viewportGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_ScrollWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_Plasma_ScrollWidget_widget, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_ScrollWidget[] = {
    {"viewportGeometryChanged(QRectF)", 0, 0, 0},
    {"scrollStateChanged(QAbstractAnimation::State,QAbstractAnimation::State)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ScrollWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ScrollWidget,
        {0}
    },
    {
        sipNameNr_ScrollWidget,
        {1, 255, 0},
        35, methods_Plasma_ScrollWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ScrollWidget,
    0,
    init_type_Plasma_ScrollWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ScrollWidget,
    0,
    0,
    0,
    release_Plasma_ScrollWidget,
    cast_Plasma_ScrollWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ScrollWidget::staticMetaObject,
    0,
    signals_Plasma_ScrollWidget,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/scrollbar.sip"
#include <plasma/widgets/scrollbar.h>
#line 4277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 4281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 4290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 4365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 4389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 4425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 4434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 4449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 4452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 4467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 4470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_ScrollBar : public Plasma::ScrollBar
{
public:
    sipPlasma_ScrollBar(QGraphicsWidget*);
    virtual ~sipPlasma_ScrollBar();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

sipPlasma_ScrollBar::sipPlasma_ScrollBar(QGraphicsWidget*a0): Plasma::ScrollBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_ScrollBar::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ScrollBar);
}

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

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

    return _id;
}

void *sipPlasma_ScrollBar::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ScrollBar, _clname)) ? this : Plasma::ScrollBar::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::ScrollBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ScrollBar::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_ScrollBar::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::ScrollBar::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ScrollBar::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::ScrollBar::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ScrollBar::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::ScrollBar::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::ScrollBar::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ScrollBar::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::ScrollBar::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_ScrollBar::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::ScrollBar::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_ScrollBar::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::ScrollBar::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ScrollBar::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::ScrollBar::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_ScrollBar::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::ScrollBar::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_ScrollBar::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSizeF sipPlasma_ScrollBar::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::ScrollBar::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ScrollBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::ScrollBar::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ScrollBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::ScrollBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ScrollBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::ScrollBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ScrollBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::ScrollBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_ScrollBar::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::ScrollBar::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipPlasma_ScrollBar::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::ScrollBar::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ScrollBar::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::ScrollBar::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_ScrollBar::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::ScrollBar::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setRange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setSingleStep(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleStep(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setSingleStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_singleStep(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_singleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleStep();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_singleStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setPageStep(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setPageStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPageStep(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setPageStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_pageStep(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_pageStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pageStep();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_pageStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_value(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_minimum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimum();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_minimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_maximum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximum();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_maximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            QScrollBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QScrollBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setValue(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrientation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setOrientation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ScrollBar::contextMenuEvent(a0) : sipCpp->contextMenuEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_orientation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp))
        {
            Qt::Orientation sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->orientation();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_orientation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimum(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setMinimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ScrollBar_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ScrollBar_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::ScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_ScrollBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximum(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ScrollBar, sipName_setMaximum, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_ScrollBar(void *, const sipTypeDef *);}
static void *cast_Plasma_ScrollBar(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::ScrollBar *sipCpp = reinterpret_cast<Plasma::ScrollBar *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ScrollBar(void *, int);}
static void release_Plasma_ScrollBar(void *sipCppV,int)
{
    Plasma::ScrollBar *sipCpp = reinterpret_cast<Plasma::ScrollBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ScrollBar(sipSimpleWrapper *);}
static void dealloc_Plasma_ScrollBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ScrollBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ScrollBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_ScrollBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ScrollBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_ScrollBar *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ScrollBar(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ScrollBar[] = {{189, 2, 1}};


static PyMethodDef methods_Plasma_ScrollBar[] = {
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_ScrollBar_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_Plasma_ScrollBar_maximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_Plasma_ScrollBar_minimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_ScrollBar_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_Plasma_ScrollBar_orientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageStep), meth_Plasma_ScrollBar_pageStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_Plasma_ScrollBar_setMaximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_Plasma_ScrollBar_setMinimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_Plasma_ScrollBar_setOrientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPageStep), meth_Plasma_ScrollBar_setPageStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_Plasma_ScrollBar_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_Plasma_ScrollBar_setSingleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_ScrollBar_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_Plasma_ScrollBar_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_Plasma_ScrollBar_singleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_ScrollBar_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_Plasma_ScrollBar_value, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_ScrollBar[] = {
    {"sliderMoved(int)", 0, 0, 0},
    {"valueChanged(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ScrollBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ScrollBar,
        {0}
    },
    {
        sipNameNr_ScrollBar,
        {1, 255, 0},
        17, methods_Plasma_ScrollBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ScrollBar,
    0,
    init_type_Plasma_ScrollBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ScrollBar,
    0,
    0,
    0,
    release_Plasma_ScrollBar,
    cast_Plasma_ScrollBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ScrollBar::staticMetaObject,
    0,
    signals_Plasma_ScrollBar,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/radiobutton.sip"
#include <plasma/widgets/radiobutton.h>
#line 6221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 6225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qradiobutton.sip"
#include <qradiobutton.h>
#line 6234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 6291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 6306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 6309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 6315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 6324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 6327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 6330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 6333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 6369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 6378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 6381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 6393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 6396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 6411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 6414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_RadioButton : public Plasma::RadioButton
{
public:
    sipPlasma_RadioButton(QGraphicsWidget*);
    virtual ~sipPlasma_RadioButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_RadioButton(const sipPlasma_RadioButton &);
    sipPlasma_RadioButton &operator = (const sipPlasma_RadioButton &);

    char sipPyMethods[60];
};

sipPlasma_RadioButton::sipPlasma_RadioButton(QGraphicsWidget*a0): Plasma::RadioButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_RadioButton::~sipPlasma_RadioButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_RadioButton::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_RadioButton);
}

int sipPlasma_RadioButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::RadioButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_RadioButton,_c,_id,_a);

    return _id;
}

void *sipPlasma_RadioButton::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_RadioButton, _clname)) ? this : Plasma::RadioButton::qt_metacast(_clname);
}

bool sipPlasma_RadioButton::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::RadioButton::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QVariant sipPlasma_RadioButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::RadioButton::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_RadioButton::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::RadioButton::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_RadioButton::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::RadioButton::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_RadioButton::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::RadioButton::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_RadioButton::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::RadioButton::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_RadioButton::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::RadioButton::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::RadioButton::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::RadioButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::RadioButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_RadioButton::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_RadioButton::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::RadioButton::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_RadioButton::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::RadioButton::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_RadioButton::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::RadioButton::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::RadioButton::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_RadioButton::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::RadioButton::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_RadioButton::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::RadioButton::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_RadioButton::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::RadioButton::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_RadioButton::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::RadioButton::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_RadioButton::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::RadioButton::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_RadioButton::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSizeF sipPlasma_RadioButton::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::RadioButton::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_RadioButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::RadioButton::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::RadioButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_RadioButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::RadioButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_RadioButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::RadioButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_RadioButton::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::RadioButton::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipPlasma_RadioButton::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::RadioButton::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_RadioButton::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::RadioButton::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_RadioButton::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::RadioButton::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_RadioButton_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RadioButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RadioButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_setImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_setImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RadioButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_setImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_image(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RadioButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->image());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_image, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_RadioButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RadioButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RadioButton, &sipCpp))
        {
            QRadioButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QRadioButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_setChecked(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_setChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_RadioButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecked(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_setChecked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_isChecked(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_isChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RadioButton, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isChecked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_isChecked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_RadioButton, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::RadioButton::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RadioButton_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RadioButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::RadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_RadioButton, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::RadioButton::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RadioButton, sipName_changeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_RadioButton(void *, const sipTypeDef *);}
static void *cast_Plasma_RadioButton(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::RadioButton *sipCpp = reinterpret_cast<Plasma::RadioButton *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_RadioButton(void *, int);}
static void release_Plasma_RadioButton(void *sipCppV,int)
{
    Plasma::RadioButton *sipCpp = reinterpret_cast<Plasma::RadioButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_RadioButton(sipSimpleWrapper *);}
static void dealloc_Plasma_RadioButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_RadioButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_RadioButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_RadioButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_RadioButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_RadioButton *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_RadioButton(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_RadioButton[] = {{189, 2, 1}};


static PyMethodDef methods_Plasma_RadioButton[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_RadioButton_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_RadioButton_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_Plasma_RadioButton_isChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_RadioButton_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_RadioButton_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_Plasma_RadioButton_setChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_RadioButton_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_RadioButton_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_RadioButton_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_RadioButton_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_RadioButton_text, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_RadioButton[] = {
    {"toggled(bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_RadioButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__RadioButton,
        {0}
    },
    {
        sipNameNr_RadioButton,
        {1, 255, 0},
        11, methods_Plasma_RadioButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_RadioButton,
    0,
    init_type_Plasma_RadioButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_RadioButton,
    0,
    0,
    0,
    release_Plasma_RadioButton,
    cast_Plasma_RadioButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::RadioButton::staticMetaObject,
    0,
    signals_Plasma_RadioButton,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/pushbutton.sip"
#include <plasma/widgets/pushbutton.h>
#line 8000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8004 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8007 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8019 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 8031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 8037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 8046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8052 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 8097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 8118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 8154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 8163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 8178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 8181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 8196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 8199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_PushButton : public Plasma::PushButton
{
public:
    sipPlasma_PushButton(QGraphicsWidget*);
    virtual ~sipPlasma_PushButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    int type() const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_PushButton(const sipPlasma_PushButton &);
    sipPlasma_PushButton &operator = (const sipPlasma_PushButton &);

    char sipPyMethods[67];
};

sipPlasma_PushButton::sipPlasma_PushButton(QGraphicsWidget*a0): Plasma::PushButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_PushButton::~sipPlasma_PushButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_PushButton::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_PushButton);
}

int sipPlasma_PushButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::PushButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_PushButton,_c,_id,_a);

    return _id;
}

void *sipPlasma_PushButton::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_PushButton, _clname)) ? this : Plasma::PushButton::qt_metacast(_clname);
}

QSizeF sipPlasma_PushButton::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::PushButton::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PushButton::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::PushButton::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QVariant sipPlasma_PushButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::PushButton::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::PushButton::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_PushButton::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::PushButton::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_PushButton::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::PushButton::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::PushButton::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PushButton::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::PushButton::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PushButton::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::PushButton::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::PushButton::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::PushButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::PushButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_PushButton::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::PushButton::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::PushButton::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::PushButton::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::PushButton::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::PushButton::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_PushButton::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::PushButton::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_PushButton::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::PushButton::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::PushButton::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_PushButton::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::PushButton::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_PushButton::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::PushButton::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::PushButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::PushButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PushButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::PushButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_PushButton::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::PushButton::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipPlasma_PushButton::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::PushButton::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::PushButton::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_PushButton_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_setImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_image(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->image());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_image, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_setAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_action, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KIcon* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_KIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_setCheckable(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PushButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckable(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setCheckable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_setChecked(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_setChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_PushButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecked(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_setChecked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_isChecked(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_isChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isChecked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_isChecked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8|J8", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PushButton::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PushButton::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PushButton::hoverEnterEvent(a0) : sipCpp->hoverEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PushButton::hoverLeaveEvent(a0) : sipCpp->hoverLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_isDown(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_isDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_isDown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::PushButton::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_isCheckable(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_isCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCheckable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_isCheckable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF* a1;
        const Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_PushButton, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::PushButton::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_PushButton_click(PyObject *, PyObject *);}
static PyObject *meth_Plasma_PushButton_click(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::PushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_PushButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->click();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_PushButton, sipName_click, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_PushButton(void *, const sipTypeDef *);}
static void *cast_Plasma_PushButton(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::PushButton *sipCpp = reinterpret_cast<Plasma::PushButton *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_PushButton(void *, int);}
static void release_Plasma_PushButton(void *sipCppV,int)
{
    Plasma::PushButton *sipCpp = reinterpret_cast<Plasma::PushButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_PushButton(sipSimpleWrapper *);}
static void dealloc_Plasma_PushButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_PushButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_PushButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_PushButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_PushButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_PushButton *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_PushButton(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_PushButton[] = {{189, 2, 1}};


static PyMethodDef methods_Plasma_PushButton[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_PushButton_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_PushButton_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_click), meth_Plasma_PushButton_click, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_PushButton_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_PushButton_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_PushButton_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_PushButton_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCheckable), meth_Plasma_PushButton_isCheckable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_Plasma_PushButton_isChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDown), meth_Plasma_PushButton_isDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_PushButton_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_PushButton_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_PushButton_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAction), meth_Plasma_PushButton_setAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckable), meth_Plasma_PushButton_setCheckable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_Plasma_PushButton_setChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_PushButton_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_PushButton_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_PushButton_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_PushButton_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_PushButton_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_PushButton_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_PushButton_text, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_PushButton[] = {
    {"released()", 0, 0, 0},
    {"pressed()", 0, 0, 0},
    {"toggled(bool)", 0, 0, 0},
    {"clicked()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PushButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__PushButton,
        {0}
    },
    {
        sipNameNr_PushButton,
        {1, 255, 0},
        23, methods_Plasma_PushButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_PushButton,
    0,
    init_type_Plasma_PushButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_PushButton,
    0,
    0,
    0,
    release_Plasma_PushButton,
    cast_Plasma_PushButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::PushButton::staticMetaObject,
    0,
    signals_Plasma_PushButton,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/meter.sip"
#include <plasma/widgets/meter.h>
#line 10166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 10191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 10212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 10245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 10251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 10257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 10269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 10308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 10311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 10317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 10320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 10347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 10350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 10365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 10368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_Meter : public Plasma::Meter
{
public:
    sipPlasma_Meter(QGraphicsItem*);
    virtual ~sipPlasma_Meter();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Meter(const sipPlasma_Meter &);
    sipPlasma_Meter &operator = (const sipPlasma_Meter &);

    char sipPyMethods[60];
};

sipPlasma_Meter::sipPlasma_Meter(QGraphicsItem*a0): Plasma::Meter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Meter::~sipPlasma_Meter()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Meter::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Meter);
}

int sipPlasma_Meter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Meter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Meter,_c,_id,_a);

    return _id;
}

void *sipPlasma_Meter::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Meter, _clname)) ? this : Plasma::Meter::qt_metacast(_clname);
}

QSizeF sipPlasma_Meter::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Meter::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::Meter::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Meter::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Meter::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::Meter::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Meter::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::Meter::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Meter::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::Meter::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_Meter::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::Meter::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::Meter::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Meter::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::Meter::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::Meter::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Meter::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::Meter::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::Meter::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_Meter::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::Meter::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Meter::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::Meter::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::Meter::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Meter::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::Meter::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Meter::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::Meter::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::Meter::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Meter::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Meter::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Meter::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Meter::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Meter::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Meter::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Meter::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Meter::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Meter::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Meter::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Meter::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::Meter::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::Meter::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::Meter::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::Meter::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::Meter::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::Meter::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::Meter::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::Meter::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Meter::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::Meter::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::Meter::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Meter::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_Meter::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::Meter::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::Meter::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::Meter::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_Meter::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Meter::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::Meter::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::Meter::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_Meter::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::Meter::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_Meter::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::Meter::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Meter::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_Meter::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Meter::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::Meter::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_Meter::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::Meter::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::Meter::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_Plasma_Meter_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximum(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setMaximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_maximum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Meter, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximum();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_maximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimum(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setMinimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_minimum(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Meter, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimum();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_minimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setValue(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_value(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Meter, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setSvg(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setSvg(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Meter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSvg(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setSvg, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_svg(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_svg(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Meter, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->svg());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_svg, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setMeterType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setMeterType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Meter::MeterType a0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Meter, &sipCpp, sipType_Plasma_Meter_MeterType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMeterType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setMeterType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_meterType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_meterType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Meter, &sipCpp))
        {
            Plasma::Meter::MeterType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->meterType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Meter_MeterType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_meterType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setLabel(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_label(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_label(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->label(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_label, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setLabelColor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setLabelColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QColor* a1;
        int a1State = 0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0, sipType_QColor, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabelColor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setLabelColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_labelColor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_labelColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->labelColor(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_labelColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setLabelFont(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setLabelFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QFont* a1;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0, sipType_QFont, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabelFont(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setLabelFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_labelFont(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_labelFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->labelFont(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_labelFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_setLabelAlignment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_setLabelAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Qt::Alignment* a1;
        int a1State = 0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabelAlignment(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Qt::Alignment *>(a1),sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_setLabelAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_labelAlignment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_labelAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            Qt::Alignment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->labelAlignment(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_labelAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_labelRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_labelRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Meter, &sipCpp, &a0))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->labelRect(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_labelRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_dataUpdated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_dataUpdated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::DataEngine::Data* a1;
        int a1State = 0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_Meter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QHash_0100QString_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dataUpdated(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<Plasma::DataEngine::Data *>(a1),sipType_QHash_0100QString_0100QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_dataUpdated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8|J8", &sipSelf, sipType_Plasma_Meter, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Meter::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Meter_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Meter_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const Plasma::Meter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE|J9", &sipSelf, sipType_Plasma_Meter, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::Meter::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Meter, sipName_sizeHint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Meter(void *, const sipTypeDef *);}
static void *cast_Plasma_Meter(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::Meter *sipCpp = reinterpret_cast<Plasma::Meter *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Meter(void *, int);}
static void release_Plasma_Meter(void *sipCppV,int)
{
    Plasma::Meter *sipCpp = reinterpret_cast<Plasma::Meter *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Meter(sipSimpleWrapper *);}
static void dealloc_Plasma_Meter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Meter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Meter(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_Meter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Meter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipPlasma_Meter *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J8", sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Meter(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Meter[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_Meter[] = {
    {SIP_MLNAME_CAST(sipName_dataUpdated), meth_Plasma_Meter_dataUpdated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_Plasma_Meter_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelAlignment), meth_Plasma_Meter_labelAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelColor), meth_Plasma_Meter_labelColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelFont), meth_Plasma_Meter_labelFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelRect), meth_Plasma_Meter_labelRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_Plasma_Meter_maximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_meterType), meth_Plasma_Meter_meterType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_Plasma_Meter_minimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Meter_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_Plasma_Meter_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabelAlignment), meth_Plasma_Meter_setLabelAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabelColor), meth_Plasma_Meter_setLabelColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabelFont), meth_Plasma_Meter_setLabelFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_Plasma_Meter_setMaximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMeterType), meth_Plasma_Meter_setMeterType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_Plasma_Meter_setMinimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSvg), meth_Plasma_Meter_setSvg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_Plasma_Meter_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Meter_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_svg), meth_Plasma_Meter_svg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_Plasma_Meter_value, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Meter[] = {
    {sipName_AnalogMeter, static_cast<int>(Plasma::Meter::AnalogMeter), 92},
    {sipName_BarMeterHorizontal, static_cast<int>(Plasma::Meter::BarMeterHorizontal), 92},
    {sipName_BarMeterVertical, static_cast<int>(Plasma::Meter::BarMeterVertical), 92},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Meter[] = {
    {"valueChanged(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Meter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Meter,
        {0}
    },
    {
        sipNameNr_Meter,
        {1, 255, 0},
        22, methods_Plasma_Meter,
        3, enummembers_Plasma_Meter,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Meter,
    0,
    init_type_Plasma_Meter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Meter,
    0,
    0,
    0,
    release_Plasma_Meter,
    cast_Plasma_Meter,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Meter::staticMetaObject,
    0,
    signals_Plasma_Meter,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/lineedit.sip"
#include <plasma/widgets/lineedit.h>
#line 12289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 12293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 12320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 12323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 12377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 12401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 12437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 12440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 12446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 12449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 12461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 12464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 12479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 12482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_LineEdit : public Plasma::LineEdit
{
public:
    sipPlasma_LineEdit(QGraphicsWidget*);
    virtual ~sipPlasma_LineEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool focusNextPrevChild(bool);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    int type() const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_LineEdit(const sipPlasma_LineEdit &);
    sipPlasma_LineEdit &operator = (const sipPlasma_LineEdit &);

    char sipPyMethods[69];
};

sipPlasma_LineEdit::sipPlasma_LineEdit(QGraphicsWidget*a0): Plasma::LineEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_LineEdit::~sipPlasma_LineEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_LineEdit::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_LineEdit);
}

int sipPlasma_LineEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::LineEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_LineEdit,_c,_id,_a);

    return _id;
}

void *sipPlasma_LineEdit::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_LineEdit, _clname)) ? this : Plasma::LineEdit::qt_metacast(_clname);
}

bool sipPlasma_LineEdit::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::LineEdit::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_LineEdit::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_LineEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::LineEdit::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::LineEdit::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_LineEdit::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::LineEdit::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_LineEdit::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::LineEdit::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::LineEdit::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_LineEdit::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::LineEdit::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_LineEdit::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::LineEdit::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::LineEdit::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::LineEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::LineEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_LineEdit::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::LineEdit::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::LineEdit::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::LineEdit::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::LineEdit::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::LineEdit::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_LineEdit::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::LineEdit::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_LineEdit::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::LineEdit::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::LineEdit::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_LineEdit::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::LineEdit::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_LineEdit::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSizeF sipPlasma_LineEdit::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::LineEdit::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_LineEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::LineEdit::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::LineEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::LineEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_LineEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::LineEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_LineEdit::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::LineEdit::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipPlasma_LineEdit::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::LineEdit::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::LineEdit::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_LineEdit_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_LineEdit, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_LineEdit, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_LineEdit, &sipCpp))
        {
            KLineEdit*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_setClearButtonShown(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_setClearButtonShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClearButtonShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_setClearButtonShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_isClearButtonShown(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_isClearButtonShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_LineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isClearButtonShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_isClearButtonShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_setNativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_setNativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KLineEdit* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_KLineEdit, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNativeWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_setNativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::hoverEnterEvent(a0) : sipCpp->hoverEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::hoverLeaveEvent(a0) : sipCpp->hoverLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8J8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_setClickMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_setClickMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClickMessage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_setClickMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_clickMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_clickMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_LineEdit, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->clickMessage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_clickMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::focusOutEvent(a0) : sipCpp->focusOutEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_LineEdit_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_LineEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        Plasma::LineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_LineEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::LineEdit::focusInEvent(a0) : sipCpp->focusInEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_LineEdit, sipName_focusInEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_LineEdit(void *, const sipTypeDef *);}
static void *cast_Plasma_LineEdit(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::LineEdit *sipCpp = reinterpret_cast<Plasma::LineEdit *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_LineEdit(void *, int);}
static void release_Plasma_LineEdit(void *sipCppV,int)
{
    Plasma::LineEdit *sipCpp = reinterpret_cast<Plasma::LineEdit *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_LineEdit(sipSimpleWrapper *);}
static void dealloc_Plasma_LineEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_LineEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_LineEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_LineEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_LineEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_LineEdit *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_LineEdit(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_LineEdit[] = {{189, 2, 1}};


static PyMethodDef methods_Plasma_LineEdit[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_LineEdit_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clickMessage), meth_Plasma_LineEdit_clickMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_LineEdit_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_LineEdit_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_LineEdit_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_LineEdit_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isClearButtonShown), meth_Plasma_LineEdit_isClearButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_LineEdit_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_LineEdit_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_LineEdit_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClearButtonShown), meth_Plasma_LineEdit_setClearButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClickMessage), meth_Plasma_LineEdit_setClickMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNativeWidget), meth_Plasma_LineEdit_setNativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_LineEdit_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_LineEdit_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_LineEdit_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_LineEdit_text, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_LineEdit[] = {
    {"focusChanged(bool)", 0, 0, 0},
    {"textChanged(QString)", 0, 0, 0},
    {"textEdited(QString)", 0, 0, 0},
    {"returnPressed()", 0, 0, 0},
    {"editingFinished()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_LineEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__LineEdit,
        {0}
    },
    {
        sipNameNr_LineEdit,
        {1, 255, 0},
        17, methods_Plasma_LineEdit,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_LineEdit,
    0,
    init_type_Plasma_LineEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_LineEdit,
    0,
    0,
    0,
    release_Plasma_LineEdit,
    cast_Plasma_LineEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::LineEdit::staticMetaObject,
    0,
    signals_Plasma_LineEdit,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/label.sip"
#include <plasma/widgets/label.h>
#line 14247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 14251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 14290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlabel.sip"
#include <qlabel.h>
#line 14299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 14305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 14347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 14353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 14356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 14362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 14365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 14368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 14371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 14407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 14410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 14416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 14419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 14431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 14434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 14440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 14449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 14452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 14455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_Label : public Plasma::Label
{
public:
    sipPlasma_Label(QGraphicsWidget*);
    virtual ~sipPlasma_Label();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    int type() const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Label(const sipPlasma_Label &);
    sipPlasma_Label &operator = (const sipPlasma_Label &);

    char sipPyMethods[71];
};

sipPlasma_Label::sipPlasma_Label(QGraphicsWidget*a0): Plasma::Label(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Label::~sipPlasma_Label()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Label::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Label);
}

int sipPlasma_Label::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Label::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Label,_c,_id,_a);

    return _id;
}

void *sipPlasma_Label::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Label, _clname)) ? this : Plasma::Label::qt_metacast(_clname);
}

QSizeF sipPlasma_Label::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Label::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Label::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Label::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Label::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::Label::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Label::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_Label::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Label::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QVariant sipPlasma_Label::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::Label::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::Label::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::Label::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::Label::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_Label::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::Label::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Label::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::Label::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::Label::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Label::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::Label::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Label::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::Label::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::Label::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Label::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Label::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Label::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Label::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Label::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Label::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Label::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Label::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::Label::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::Label::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::Label::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::Label::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::Label::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_Label::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::Label::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::Label::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::Label::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::Label::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::Label::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_Label::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::Label::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_Label::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::Label::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Label::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Label::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::Label::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_Label::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::Label::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::Label::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Label::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::Label::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::Label::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::Label::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Label::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Label::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::Label::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::Label::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::Label::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Label::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Label::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Label::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::Label::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Label::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Label::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::Label::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::Label::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Label::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipPlasma_Label::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Label::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::Label::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_Label_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_setImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_image(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->image());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_image, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlignment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_alignment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            Qt::Alignment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->alignment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_alignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_setScaledContents(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setScaledContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Label, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScaledContents(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setScaledContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_hasScaledContents(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_hasScaledContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasScaledContents();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_hasScaledContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            QLabel*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QLabel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_dataUpdated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_dataUpdated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::DataEngine::Data* a1;
        int a1State = 0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QString,&a0, &a0State, sipType_QHash_0100QString_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dataUpdated(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<Plasma::DataEngine::Data *>(a1),sipType_QHash_0100QString_0100QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_dataUpdated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Label::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_setTextSelectable(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setTextSelectable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Label, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextSelectable(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setTextSelectable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_textSelectable(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_textSelectable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->textSelectable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_textSelectable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Label::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8J8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Label::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Label::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Label::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Label::contextMenuEvent(a0) : sipCpp->contextMenuEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_setWordWrap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_setWordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Label, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWordWrap(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_setWordWrap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_wordWrap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_wordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Label, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wordWrap();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_wordWrap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Label::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_itemChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Plasma::Label::itemChange(a0,*a1) : sipCpp->itemChange(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_itemChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Label_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Label_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF* a1;
        const Plasma::Label *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_Label, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::Label::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Label, sipName_sizeHint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Label(void *, const sipTypeDef *);}
static void *cast_Plasma_Label(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::Label *sipCpp = reinterpret_cast<Plasma::Label *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Label(void *, int);}
static void release_Plasma_Label(void *sipCppV,int)
{
    Plasma::Label *sipCpp = reinterpret_cast<Plasma::Label *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Label(sipSimpleWrapper *);}
static void dealloc_Plasma_Label(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Label *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Label(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_Label(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Label(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Label *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Label(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Label[] = {{189, 2, 1}};


static PyMethodDef methods_Plasma_Label[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_Plasma_Label_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_Label_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_Label_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataUpdated), meth_Plasma_Label_dataUpdated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Label_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasScaledContents), meth_Plasma_Label_hasScaledContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_Label_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_Label_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Label_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Label_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_Label_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Label_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Label_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_Plasma_Label_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_Label_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScaledContents), meth_Plasma_Label_setScaledContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_Label_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_Label_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextSelectable), meth_Plasma_Label_setTextSelectable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrap), meth_Plasma_Label_setWordWrap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Label_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_Label_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_Label_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textSelectable), meth_Plasma_Label_textSelectable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wordWrap), meth_Plasma_Label_wordWrap, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Label[] = {
    {"linkHovered(QString)", 0, 0, 0},
    {"linkActivated(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Label = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Label,
        {0}
    },
    {
        sipNameNr_Label,
        {1, 255, 0},
        25, methods_Plasma_Label,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Label,
    0,
    init_type_Plasma_Label,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Label,
    0,
    0,
    0,
    release_Plasma_Label,
    cast_Plasma_Label,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Label::staticMetaObject,
    0,
    signals_Plasma_Label,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/itembackground.sip"
#include <plasma/widgets/itembackground.h>
#line 16454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 16458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 16476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 16479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 16509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 16512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 16518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 16524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 16527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 16536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 16539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 16545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 16581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 16584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 16590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 16593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 16596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 16620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 16623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 16629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 16638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 16641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 16644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_ItemBackground : public Plasma::ItemBackground
{
public:
    sipPlasma_ItemBackground(QGraphicsWidget*);
    virtual ~sipPlasma_ItemBackground();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_ItemBackground(const sipPlasma_ItemBackground &);
    sipPlasma_ItemBackground &operator = (const sipPlasma_ItemBackground &);

    char sipPyMethods[61];
};

sipPlasma_ItemBackground::sipPlasma_ItemBackground(QGraphicsWidget*a0): Plasma::ItemBackground(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ItemBackground::~sipPlasma_ItemBackground()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_ItemBackground::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ItemBackground);
}

int sipPlasma_ItemBackground::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::ItemBackground::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_ItemBackground,_c,_id,_a);

    return _id;
}

void *sipPlasma_ItemBackground::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ItemBackground, _clname)) ? this : Plasma::ItemBackground::qt_metacast(_clname);
}

void sipPlasma_ItemBackground::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::ItemBackground::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_ItemBackground::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::ItemBackground::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QVariant sipPlasma_ItemBackground::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::ItemBackground::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::ItemBackground::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_ItemBackground::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::ItemBackground::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ItemBackground::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::ItemBackground::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::ItemBackground::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ItemBackground::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::ItemBackground::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ItemBackground::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::ItemBackground::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::ItemBackground::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::ItemBackground::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::ItemBackground::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::ItemBackground::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ItemBackground::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::ItemBackground::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::ItemBackground::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::ItemBackground::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_ItemBackground::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::ItemBackground::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::ItemBackground::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::ItemBackground::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::ItemBackground::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSizeF sipPlasma_ItemBackground::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::ItemBackground::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::ItemBackground::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_ItemBackground::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::ItemBackground::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_ItemBackground::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::ItemBackground::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ItemBackground::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::ItemBackground::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_ItemBackground::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::ItemBackground::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ItemBackground::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::ItemBackground::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_ItemBackground::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::ItemBackground::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_setTarget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_setTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QRectF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTarget(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_setTarget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_target(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_target(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->target());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_target, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_setTargetItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_setTargetItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_setTargetItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_targetItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_targetItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp))
        {
            QGraphicsItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->targetItem();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_targetItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ItemBackground::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_itemChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Plasma::ItemBackground::itemChange(a0,*a1) : sipCpp->itemChange(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_itemChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::ItemBackground::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::ItemBackground::sceneEventFilter(a0,a1) : sipCpp->sceneEventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_sceneEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ItemBackground_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ItemBackground_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::ItemBackground *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ItemBackground, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ItemBackground::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemBackground, sipName_resizeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_ItemBackground(void *, const sipTypeDef *);}
static void *cast_Plasma_ItemBackground(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::ItemBackground *sipCpp = reinterpret_cast<Plasma::ItemBackground *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ItemBackground(void *, int);}
static void release_Plasma_ItemBackground(void *sipCppV,int)
{
    Plasma::ItemBackground *sipCpp = reinterpret_cast<Plasma::ItemBackground *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ItemBackground(sipSimpleWrapper *);}
static void dealloc_Plasma_ItemBackground(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ItemBackground *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ItemBackground(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_ItemBackground(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ItemBackground(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_ItemBackground *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ItemBackground(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ItemBackground[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_ItemBackground[] = {
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_ItemBackground_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_ItemBackground_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_ItemBackground_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ItemBackground_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_ItemBackground_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTarget), meth_Plasma_ItemBackground_setTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetItem), meth_Plasma_ItemBackground_setTargetItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_Plasma_ItemBackground_target, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetItem), meth_Plasma_ItemBackground_targetItem, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_ItemBackground[] = {
    {"targetItemReached(QGraphicsItem*)", 0, 0, 0},
    {"targetReached(QRectF)", 0, 0, 0},
    {"animationStep(qreal)", 0, 0, 0},
    {"appearanceChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ItemBackground = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ItemBackground,
        {0}
    },
    {
        sipNameNr_ItemBackground,
        {1, 255, 0},
        9, methods_Plasma_ItemBackground,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ItemBackground,
    0,
    init_type_Plasma_ItemBackground,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ItemBackground,
    0,
    0,
    0,
    release_Plasma_ItemBackground,
    cast_Plasma_ItemBackground,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ItemBackground::staticMetaObject,
    0,
    signals_Plasma_ItemBackground,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/iconwidget.sip"
#include <plasma/widgets/iconwidget.h>
#line 18181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 18221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 18224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 18227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 18257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 18266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 18272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 18275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 18278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 18281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 18320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 18323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 18329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 18332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 18353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 18356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 18371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 18374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 18377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_IconWidget : public Plasma::IconWidget
{
public:
    sipPlasma_IconWidget(QGraphicsItem*);
    sipPlasma_IconWidget(const QString&,QGraphicsItem*);
    sipPlasma_IconWidget(const QIcon&,const QString&,QGraphicsItem*);
    virtual ~sipPlasma_IconWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_IconWidget(const sipPlasma_IconWidget &);
    sipPlasma_IconWidget &operator = (const sipPlasma_IconWidget &);

    char sipPyMethods[63];
};

sipPlasma_IconWidget::sipPlasma_IconWidget(QGraphicsItem*a0): Plasma::IconWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_IconWidget::sipPlasma_IconWidget(const QString& a0,QGraphicsItem*a1): Plasma::IconWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_IconWidget::sipPlasma_IconWidget(const QIcon& a0,const QString& a1,QGraphicsItem*a2): Plasma::IconWidget(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_IconWidget::~sipPlasma_IconWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_IconWidget::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_IconWidget);
}

int sipPlasma_IconWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::IconWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_IconWidget,_c,_id,_a);

    return _id;
}

void *sipPlasma_IconWidget::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_IconWidget, _clname)) ? this : Plasma::IconWidget::qt_metacast(_clname);
}

QSizeF sipPlasma_IconWidget::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::IconWidget::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::IconWidget::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_IconWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::IconWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::IconWidget::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_IconWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::IconWidget::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_IconWidget::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::IconWidget::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::IconWidget::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_IconWidget::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::IconWidget::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_IconWidget::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::IconWidget::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_IconWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::IconWidget::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::IconWidget::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::IconWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::IconWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::IconWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::IconWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::IconWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::IconWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_IconWidget::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::IconWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::IconWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::IconWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_IconWidget::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::IconWidget::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::IconWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::IconWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QRectF sipPlasma_IconWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::IconWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::IconWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_IconWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::IconWidget::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::IconWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_IconWidget::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::IconWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_IconWidget_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setSvg(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setSvg(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSvg(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setSvg, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_svg(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_svg(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->svg());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_svg, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_infoText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_infoText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->infoText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_infoText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setInfoText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setInfoText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInfoText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setInfoText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_textBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_textBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->textBackgroundColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_textBackgroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setTextBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setTextBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextBackgroundColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setTextBackgroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_iconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->iconSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_iconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_addIconAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_addIconAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addIconAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_addIconAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_removeIconAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_removeIconAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeIconAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_removeIconAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_action, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrientation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setOrientation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_orientation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            Qt::Orientation sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->orientation();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_orientation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_invertLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_invertLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->invertLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_invertLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_invertedLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_invertedLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->invertedLayout();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_invertedLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_sizeFromIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_sizeFromIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, &a0))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sizeFromIconSize(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_sizeFromIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_numDisplayLines(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_numDisplayLines(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numDisplayLines();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_numDisplayLines, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setNumDisplayLines(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setNumDisplayLines(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNumDisplayLines(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setNumDisplayLines, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setDrawBackground(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setDrawBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDrawBackground(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setDrawBackground, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_drawBackground(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_drawBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->drawBackground();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_drawBackground, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_shape(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QPainterPath*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->Plasma::IconWidget::shape() : sipCpp->shape()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setPressed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setPressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPressed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setPressed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setUnpressed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setUnpressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUnpressed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setUnpressed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8|J8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_isDown(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_isDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_isDown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::mouseDoubleClickEvent(a0) : sipCpp->mouseDoubleClickEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::hoverEnterEvent(a0) : sipCpp->hoverEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::hoverLeaveEvent(a0) : sipCpp->hoverLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::IconWidget::sceneEventFilter(a0,a1) : sipCpp->sceneEventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_sceneEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_drawActionButtonBase(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_drawActionButtonBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QSize* a1;
        int a2;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9i", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QPainter, &a0, sipType_QSize, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->drawActionButtonBase(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_drawActionButtonBase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE|J9", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::IconWidget::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::IconWidget::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setPreferredIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setPreferredIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreferredIconSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setPreferredIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_preferredIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_preferredIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->preferredIconSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_preferredIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setMinimumIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setMinimumIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumIconSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setMinimumIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_minimumIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_minimumIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->minimumIconSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_minimumIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_setMaximumIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_setMaximumIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_IconWidget, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumIconSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_setMaximumIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_IconWidget_maximumIconSize(PyObject *, PyObject *);}
static PyObject *meth_Plasma_IconWidget_maximumIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::IconWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_IconWidget, &sipCpp))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->maximumIconSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_IconWidget, sipName_maximumIconSize, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_IconWidget(void *, const sipTypeDef *);}
static void *cast_Plasma_IconWidget(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::IconWidget *sipCpp = reinterpret_cast<Plasma::IconWidget *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_IconWidget(void *, int);}
static void release_Plasma_IconWidget(void *sipCppV,int)
{
    Plasma::IconWidget *sipCpp = reinterpret_cast<Plasma::IconWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_IconWidget(sipSimpleWrapper *);}
static void dealloc_Plasma_IconWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_IconWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_IconWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_IconWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_IconWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipPlasma_IconWidget *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J8", sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_IconWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsItem* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J8", sipType_QString,&a0, &a0State, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_IconWidget(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QGraphicsItem* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1|J8", sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QGraphicsItem, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_IconWidget(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_IconWidget[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_IconWidget[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_IconWidget_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addIconAction), meth_Plasma_IconWidget_addIconAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_IconWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawActionButtonBase), meth_Plasma_IconWidget_drawActionButtonBase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawBackground), meth_Plasma_IconWidget_drawBackground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_IconWidget_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_IconWidget_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_IconWidget_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_Plasma_IconWidget_iconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_infoText), meth_Plasma_IconWidget_infoText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_invertLayout), meth_Plasma_IconWidget_invertLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_invertedLayout), meth_Plasma_IconWidget_invertedLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDown), meth_Plasma_IconWidget_isDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumIconSize), meth_Plasma_IconWidget_maximumIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumIconSize), meth_Plasma_IconWidget_minimumIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_IconWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_IconWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_IconWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_IconWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numDisplayLines), meth_Plasma_IconWidget_numDisplayLines, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_Plasma_IconWidget_orientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_IconWidget_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferredIconSize), meth_Plasma_IconWidget_preferredIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeIconAction), meth_Plasma_IconWidget_removeIconAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_IconWidget_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAction), meth_Plasma_IconWidget_setAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDrawBackground), meth_Plasma_IconWidget_setDrawBackground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_IconWidget_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInfoText), meth_Plasma_IconWidget_setInfoText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumIconSize), meth_Plasma_IconWidget_setMaximumIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumIconSize), meth_Plasma_IconWidget_setMinimumIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNumDisplayLines), meth_Plasma_IconWidget_setNumDisplayLines, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_Plasma_IconWidget_setOrientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreferredIconSize), meth_Plasma_IconWidget_setPreferredIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPressed), meth_Plasma_IconWidget_setPressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSvg), meth_Plasma_IconWidget_setSvg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_IconWidget_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextBackgroundColor), meth_Plasma_IconWidget_setTextBackgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUnpressed), meth_Plasma_IconWidget_setUnpressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_IconWidget_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeFromIconSize), meth_Plasma_IconWidget_sizeFromIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_IconWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_svg), meth_Plasma_IconWidget_svg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_IconWidget_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textBackgroundColor), meth_Plasma_IconWidget_textBackgroundColor, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_IconWidget[] = {
    {"changed()", 0, 0, 0},
    {"activated()", 0, 0, 0},
    {"doubleClicked()", 0, 0, 0},
    {"clicked()", 0, 0, 0},
    {"pressed(bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_IconWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__IconWidget,
        {0}
    },
    {
        sipNameNr_IconWidget,
        {1, 255, 0},
        45, methods_Plasma_IconWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_IconWidget,
    0,
    init_type_Plasma_IconWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_IconWidget,
    0,
    0,
    0,
    release_Plasma_IconWidget,
    cast_Plasma_IconWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::IconWidget::staticMetaObject,
    0,
    signals_Plasma_IconWidget,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/groupbox.sip"
#include <plasma/widgets/groupbox.h>
#line 21006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 21010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qgroupbox.sip"
#include <qgroupbox.h>
#line 21019 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21052 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 21076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 21091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 21094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 21118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 21154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 21163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 21178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 21181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 21196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 21199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_GroupBox : public Plasma::GroupBox
{
public:
    sipPlasma_GroupBox(QGraphicsWidget*);
    virtual ~sipPlasma_GroupBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_GroupBox(const sipPlasma_GroupBox &);
    sipPlasma_GroupBox &operator = (const sipPlasma_GroupBox &);

    char sipPyMethods[60];
};

sipPlasma_GroupBox::sipPlasma_GroupBox(QGraphicsWidget*a0): Plasma::GroupBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_GroupBox::~sipPlasma_GroupBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_GroupBox::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_GroupBox);
}

int sipPlasma_GroupBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::GroupBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_GroupBox,_c,_id,_a);

    return _id;
}

void *sipPlasma_GroupBox::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_GroupBox, _clname)) ? this : Plasma::GroupBox::qt_metacast(_clname);
}

bool sipPlasma_GroupBox::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::GroupBox::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QVariant sipPlasma_GroupBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::GroupBox::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_GroupBox::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::GroupBox::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_GroupBox::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::GroupBox::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::GroupBox::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_GroupBox::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::GroupBox::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_GroupBox::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::GroupBox::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::GroupBox::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::GroupBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::GroupBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GroupBox::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_GroupBox::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::GroupBox::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::GroupBox::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::GroupBox::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::GroupBox::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GroupBox::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::GroupBox::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_GroupBox::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::GroupBox::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_GroupBox::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::GroupBox::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GroupBox::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::GroupBox::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_GroupBox::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::GroupBox::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_GroupBox::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSizeF sipPlasma_GroupBox::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::GroupBox::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_GroupBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::GroupBox::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::GroupBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::GroupBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_GroupBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::GroupBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_GroupBox::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::GroupBox::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipPlasma_GroupBox::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::GroupBox::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GroupBox::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::GroupBox::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_GroupBox::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::GroupBox::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_GroupBox_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_GroupBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GroupBox_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GroupBox, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GroupBox_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_GroupBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GroupBox_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GroupBox, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GroupBox_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_GroupBox, &sipCpp))
        {
            QGroupBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGroupBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GroupBox_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_GroupBox, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::GroupBox::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_GroupBox_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_GroupBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::GroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_GroupBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::GroupBox::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_GroupBox, sipName_changeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_GroupBox(void *, const sipTypeDef *);}
static void *cast_Plasma_GroupBox(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::GroupBox *sipCpp = reinterpret_cast<Plasma::GroupBox *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_GroupBox(void *, int);}
static void release_Plasma_GroupBox(void *sipCppV,int)
{
    Plasma::GroupBox *sipCpp = reinterpret_cast<Plasma::GroupBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_GroupBox(sipSimpleWrapper *);}
static void dealloc_Plasma_GroupBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_GroupBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_GroupBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_GroupBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_GroupBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_GroupBox *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_GroupBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_GroupBox[] = {{189, 2, 1}};


static PyMethodDef methods_Plasma_GroupBox[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_GroupBox_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_GroupBox_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_GroupBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_GroupBox_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_GroupBox_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_GroupBox_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_GroupBox_text, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_GroupBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__GroupBox,
        {0}
    },
    {
        sipNameNr_GroupBox,
        {1, 255, 0},
        7, methods_Plasma_GroupBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_GroupBox,
    0,
    init_type_Plasma_GroupBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_GroupBox,
    0,
    0,
    0,
    release_Plasma_GroupBox,
    cast_Plasma_GroupBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::GroupBox::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/frame.sip"
#include <plasma/widgets/frame.h>
#line 22664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 22668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 22674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 22689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 22725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 22728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 22755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 22794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22800 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 22803 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22806 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22809 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22812 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22821 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22824 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 22833 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 22836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 22851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 22854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_Frame : public Plasma::Frame
{
public:
    sipPlasma_Frame(QGraphicsWidget*);
    virtual ~sipPlasma_Frame();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Frame(const sipPlasma_Frame &);
    sipPlasma_Frame &operator = (const sipPlasma_Frame &);

    char sipPyMethods[61];
};

sipPlasma_Frame::sipPlasma_Frame(QGraphicsWidget*a0): Plasma::Frame(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Frame::~sipPlasma_Frame()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Frame::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Frame);
}

int sipPlasma_Frame::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Frame::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Frame,_c,_id,_a);

    return _id;
}

void *sipPlasma_Frame::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Frame, _clname)) ? this : Plasma::Frame::qt_metacast(_clname);
}

QSizeF sipPlasma_Frame::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Frame::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::Frame::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Frame::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Frame::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::Frame::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Frame::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::Frame::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Frame::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::Frame::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_Frame::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::Frame::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::Frame::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Frame::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::Frame::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::Frame::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Frame::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::Frame::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::Frame::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::Frame::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_Frame::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::Frame::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Frame::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::Frame::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::Frame::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Frame::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::Frame::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Frame::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::Frame::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::Frame::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Frame::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Frame::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Frame::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Frame::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Frame::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Frame::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Frame::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Frame::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Frame::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Frame::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Frame::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::Frame::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::Frame::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::Frame::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::Frame::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::Frame::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::Frame::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::Frame::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::Frame::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Frame::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::Frame::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::Frame::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Frame::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_Frame::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::Frame::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::Frame::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::Frame::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_Frame::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Frame::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::Frame::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::Frame::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_Frame::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::Frame::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_Frame::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::Frame::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Frame::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_Frame::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Frame::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::Frame::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_Frame::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::Frame::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_Frame_setFrameShadow(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_setFrameShadow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Frame::Shadow a0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_Plasma_Frame_Shadow, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFrameShadow(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_setFrameShadow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_frameShadow(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_frameShadow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Frame, &sipCpp))
        {
            Plasma::Frame::Shadow sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->frameShadow();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Frame_Shadow);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_frameShadow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString* a0;
        int a0State = 0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Frame, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_setImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_setImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_setImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_image(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Frame, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->image());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_image, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_setStyleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Frame, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_nativeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Frame, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_nativeWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8|J8", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Frame::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Frame::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF* a1;
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::Frame::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_setEnabledBorders(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_setEnabledBorders(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::FrameSvg::EnabledBorders* a0;
        int a0State = 0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_Plasma_FrameSvg_EnabledBorders, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabledBorders(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::FrameSvg::EnabledBorders *>(a0),sipType_Plasma_FrameSvg_EnabledBorders,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_setEnabledBorders, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_enabledBorders(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_enabledBorders(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Frame, &sipCpp))
        {
            Plasma::FrameSvg::EnabledBorders*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::FrameSvg::EnabledBorders(sipCpp->enabledBorders());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_FrameSvg_EnabledBorders,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_enabledBorders, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Frame_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Frame_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        Plasma::Frame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Frame, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Frame::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Frame, sipName_changeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Frame(void *, const sipTypeDef *);}
static void *cast_Plasma_Frame(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::Frame *sipCpp = reinterpret_cast<Plasma::Frame *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Frame(void *, int);}
static void release_Plasma_Frame(void *sipCppV,int)
{
    Plasma::Frame *sipCpp = reinterpret_cast<Plasma::Frame *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Frame(sipSimpleWrapper *);}
static void dealloc_Plasma_Frame(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Frame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Frame(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_Frame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Frame(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Frame *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Frame(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Frame[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_Frame[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_Frame_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledBorders), meth_Plasma_Frame_enabledBorders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameShadow), meth_Plasma_Frame_frameShadow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_Frame_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_Frame_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Frame_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Frame_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabledBorders), meth_Plasma_Frame_setEnabledBorders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameShadow), meth_Plasma_Frame_setFrameShadow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_Frame_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_Frame_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_Frame_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Frame_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_Frame_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_Frame_text, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Frame[] = {
    {sipName_Plain, static_cast<int>(Plasma::Frame::Plain), 73},
    {sipName_Raised, static_cast<int>(Plasma::Frame::Raised), 73},
    {sipName_Sunken, static_cast<int>(Plasma::Frame::Sunken), 73},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Frame = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Frame,
        {0}
    },
    {
        sipNameNr_Frame,
        {1, 255, 0},
        15, methods_Plasma_Frame,
        3, enummembers_Plasma_Frame,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Frame,
    0,
    init_type_Plasma_Frame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Frame,
    0,
    0,
    0,
    release_Plasma_Frame,
    cast_Plasma_Frame,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Frame::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/flashinglabel.sip"
#include <plasma/widgets/flashinglabel.h>
#line 24559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 24566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 24581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 24584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 24632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 24641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 24647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 24656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 24659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 24698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 24707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 24737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 24740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 24755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 24758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_FlashingLabel : public Plasma::FlashingLabel
{
public:
    sipPlasma_FlashingLabel(QGraphicsItem*);
    virtual ~sipPlasma_FlashingLabel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_FlashingLabel(const sipPlasma_FlashingLabel &);
    sipPlasma_FlashingLabel &operator = (const sipPlasma_FlashingLabel &);

    char sipPyMethods[61];
};

sipPlasma_FlashingLabel::sipPlasma_FlashingLabel(QGraphicsItem*a0): Plasma::FlashingLabel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_FlashingLabel::~sipPlasma_FlashingLabel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_FlashingLabel::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_FlashingLabel);
}

int sipPlasma_FlashingLabel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::FlashingLabel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_FlashingLabel,_c,_id,_a);

    return _id;
}

void *sipPlasma_FlashingLabel::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_FlashingLabel, _clname)) ? this : Plasma::FlashingLabel::qt_metacast(_clname);
}

QSizeF sipPlasma_FlashingLabel::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::FlashingLabel::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::FlashingLabel::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_FlashingLabel::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::FlashingLabel::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipPlasma_FlashingLabel::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::FlashingLabel::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_FlashingLabel::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::FlashingLabel::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::FlashingLabel::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_FlashingLabel::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::FlashingLabel::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_FlashingLabel::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::FlashingLabel::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::FlashingLabel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::FlashingLabel::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::FlashingLabel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_FlashingLabel::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::FlashingLabel::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::FlashingLabel::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::FlashingLabel::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_FlashingLabel::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::FlashingLabel::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_FlashingLabel::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::FlashingLabel::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_FlashingLabel::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::FlashingLabel::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_FlashingLabel::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::FlashingLabel::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_FlashingLabel::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::FlashingLabel::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8|J8", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::FlashingLabel::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_setFont(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFont(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_setFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_setColor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_setDuration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_setDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDuration(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_setDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_flash(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_flash(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        const QTextOption& a2def = QTextOption(Qt::AlignCenter);
        const QTextOption* a2 = &a2def;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|iJ9", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QTextOption, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->flash(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPixmap* a0;
        int a1 = 0;
        Qt::Alignment a2def = Qt::AlignCenter;
        Qt::Alignment* a2 = &a2def;
        int a2State = 0;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|iJ1", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, sipType_QPixmap, &a0, &a1, sipType_Qt_Alignment, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->flash(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_Qt_Alignment,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_flash, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_setAutohide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_setAutohide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutohide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_setAutohide, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_autohide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_autohide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autohide();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_autohide, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_kill(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_kill(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->kill();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_kill, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_fadeIn(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_fadeIn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fadeIn();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_fadeIn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_fadeOut(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_fadeOut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fadeOut();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_fadeOut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF* a1;
        const Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::FlashingLabel::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_font(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->font());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_font, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_color(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->color());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_FlashingLabel_duration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_FlashingLabel_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::FlashingLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_FlashingLabel, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->duration();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_FlashingLabel, sipName_duration, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_FlashingLabel(void *, const sipTypeDef *);}
static void *cast_Plasma_FlashingLabel(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::FlashingLabel *sipCpp = reinterpret_cast<Plasma::FlashingLabel *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_FlashingLabel(void *, int);}
static void release_Plasma_FlashingLabel(void *sipCppV,int)
{
    Plasma::FlashingLabel *sipCpp = reinterpret_cast<Plasma::FlashingLabel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_FlashingLabel(sipSimpleWrapper *);}
static void dealloc_Plasma_FlashingLabel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_FlashingLabel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_FlashingLabel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_FlashingLabel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_FlashingLabel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipPlasma_FlashingLabel *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J8", sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_FlashingLabel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_FlashingLabel[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_FlashingLabel[] = {
    {SIP_MLNAME_CAST(sipName_autohide), meth_Plasma_FlashingLabel_autohide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_Plasma_FlashingLabel_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_Plasma_FlashingLabel_duration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fadeIn), meth_Plasma_FlashingLabel_fadeIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fadeOut), meth_Plasma_FlashingLabel_fadeOut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flash), meth_Plasma_FlashingLabel_flash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_Plasma_FlashingLabel_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_kill), meth_Plasma_FlashingLabel_kill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_FlashingLabel_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutohide), meth_Plasma_FlashingLabel_setAutohide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_Plasma_FlashingLabel_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDuration), meth_Plasma_FlashingLabel_setDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_Plasma_FlashingLabel_setFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_FlashingLabel_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_FlashingLabel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__FlashingLabel,
        {0}
    },
    {
        sipNameNr_FlashingLabel,
        {1, 255, 0},
        14, methods_Plasma_FlashingLabel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_FlashingLabel,
    0,
    init_type_Plasma_FlashingLabel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_FlashingLabel,
    0,
    0,
    0,
    release_Plasma_FlashingLabel,
    cast_Plasma_FlashingLabel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::FlashingLabel::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/declarativewidget.sip"
#include <plasma/widgets/declarativewidget.h>
#line 26443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 26447 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtScript/qscriptengine.sip"
#include <qscriptengine.h>
#line 26450 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtDeclarative/qdeclarativecomponent.sip"
#include <qdeclarativecomponent.h>
#line 26456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 26462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26477 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26480 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26483 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26492 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 26507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 26510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 26513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26525 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26528 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26531 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 26534 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 26537 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26540 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 26543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26546 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26549 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26552 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26558 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26561 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26564 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26567 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26570 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26573 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26576 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 26579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 26582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 26588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 26591 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26594 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26597 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26600 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26603 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26609 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26612 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26615 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 26618 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 26621 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26624 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26627 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26630 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 26636 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 26639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26642 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart2.cpp"


class sipPlasma_DeclarativeWidget : public Plasma::DeclarativeWidget
{
public:
    sipPlasma_DeclarativeWidget(QGraphicsWidget*);
    virtual ~sipPlasma_DeclarativeWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_DeclarativeWidget(const sipPlasma_DeclarativeWidget &);
    sipPlasma_DeclarativeWidget &operator = (const sipPlasma_DeclarativeWidget &);

    char sipPyMethods[59];
};

sipPlasma_DeclarativeWidget::sipPlasma_DeclarativeWidget(QGraphicsWidget*a0): Plasma::DeclarativeWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_DeclarativeWidget::~sipPlasma_DeclarativeWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_DeclarativeWidget::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_DeclarativeWidget);
}

int sipPlasma_DeclarativeWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::DeclarativeWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_DeclarativeWidget,_c,_id,_a);

    return _id;
}

void *sipPlasma_DeclarativeWidget::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_DeclarativeWidget, _clname)) ? this : Plasma::DeclarativeWidget::qt_metacast(_clname);
}

void sipPlasma_DeclarativeWidget::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_DeclarativeWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_DeclarativeWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_DeclarativeWidget::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DeclarativeWidget::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DeclarativeWidget::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DeclarativeWidget::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_DeclarativeWidget::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_DeclarativeWidget::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSizeF sipPlasma_DeclarativeWidget::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_DeclarativeWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_DeclarativeWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DeclarativeWidget::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_DeclarativeWidget::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_DeclarativeWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::DeclarativeWidget::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DeclarativeWidget::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_DeclarativeWidget::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::DeclarativeWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_setQmlPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_setQmlPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setQmlPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_setQmlPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_qmlPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_qmlPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->qmlPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_qmlPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_setInitializationDelayed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_setInitializationDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInitializationDelayed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_setInitializationDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_isInitializationDelayed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_isInitializationDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInitializationDelayed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_isInitializationDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_engine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_engine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp))
        {
            QDeclarativeEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->engine();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_engine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_rootObject(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_rootObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rootObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_rootObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_mainComponent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_mainComponent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp))
        {
            QDeclarativeComponent*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mainComponent();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeComponent,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_mainComponent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::DeclarativeWidget::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DeclarativeWidget_scriptEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DeclarativeWidget_scriptEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DeclarativeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DeclarativeWidget, &sipCpp))
        {
            QScriptEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scriptEngine();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QScriptEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DeclarativeWidget, sipName_scriptEngine, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_DeclarativeWidget(void *, const sipTypeDef *);}
static void *cast_Plasma_DeclarativeWidget(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::DeclarativeWidget *sipCpp = reinterpret_cast<Plasma::DeclarativeWidget *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_DeclarativeWidget(void *, int);}
static void release_Plasma_DeclarativeWidget(void *sipCppV,int)
{
    Plasma::DeclarativeWidget *sipCpp = reinterpret_cast<Plasma::DeclarativeWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_DeclarativeWidget(sipSimpleWrapper *);}
static void dealloc_Plasma_DeclarativeWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_DeclarativeWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_DeclarativeWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_DeclarativeWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_DeclarativeWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_DeclarativeWidget *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_DeclarativeWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_DeclarativeWidget[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_DeclarativeWidget[] = {
    {SIP_MLNAME_CAST(sipName_engine), meth_Plasma_DeclarativeWidget_engine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInitializationDelayed), meth_Plasma_DeclarativeWidget_isInitializationDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainComponent), meth_Plasma_DeclarativeWidget_mainComponent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_qmlPath), meth_Plasma_DeclarativeWidget_qmlPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_DeclarativeWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootObject), meth_Plasma_DeclarativeWidget_rootObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scriptEngine), meth_Plasma_DeclarativeWidget_scriptEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInitializationDelayed), meth_Plasma_DeclarativeWidget_setInitializationDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setQmlPath), meth_Plasma_DeclarativeWidget_setQmlPath, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_DeclarativeWidget[] = {
    {"finished()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_DeclarativeWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DeclarativeWidget,
        {0}
    },
    {
        sipNameNr_DeclarativeWidget,
        {1, 255, 0},
        9, methods_Plasma_DeclarativeWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_DeclarativeWidget,
    0,
    init_type_Plasma_DeclarativeWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_DeclarativeWidget,
    0,
    0,
    0,
    release_Plasma_DeclarativeWidget,
    cast_Plasma_DeclarativeWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::DeclarativeWidget::staticMetaObject,
    0,
    signals_Plasma_DeclarativeWidget,
};
