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

#include "sipAPIplasma.h"

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

#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 (sipIsOwnedByPython(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 *, PyObject *)
{
     ::QColor*sipVal;
     ::Plasma::PlotColor *sipCpp = reinterpret_cast< ::Plasma::PlotColor *>(sipSelf);

    sipVal = &sipCpp->color;

    return sipConvertFromType(sipVal, sipType_QColor, NULL);
}


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 *, PyObject *)
{
     ::QColor*sipVal;
     ::Plasma::PlotColor *sipCpp = reinterpret_cast< ::Plasma::PlotColor *>(sipSelf);

    sipVal = &sipCpp->darkColor;

    return sipConvertFromType(sipVal, sipType_QColor, NULL);
}


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


static pyqt4ClassPluginDef plugin_Plasma_PlotColor = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_PlotColor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__PlotColor,
        {0},
        &plugin_Plasma_PlotColor
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/separator.sip"
#include <plasma/widgets/separator.h>
#line 226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 389 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 392 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 395 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 398 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 401 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 404 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 407 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 410 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 413 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 416 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

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

sipPlasma_Separator::~sipPlasma_Separator()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

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

bool sipPlasma_Separator::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::Separator::collidesWithPath(a0,a1);

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

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

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

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

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

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

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

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

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

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

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPlasma_Separator::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::Separator::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

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

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(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;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

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

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

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

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

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

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

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

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

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

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

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

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

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

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

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

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

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

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

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

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

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

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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

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

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

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

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

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

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

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

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

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

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

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

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_Separator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Separator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_Separator = {
    & ::Plasma::Separator::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Separator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Separator,
        {0},
        &plugin_Plasma_Separator
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/scrollwidget.sip"
#include <plasma/widgets/scrollwidget.h>
#line 1810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 1835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 1886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 1916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 1952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 1985 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1988 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1991 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 2000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 2003 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2006 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

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

sipPlasma_ScrollWidget::~sipPlasma_ScrollWidget()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

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

bool sipPlasma_ScrollWidget::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::ScrollWidget::collidesWithPath(a0,a1);

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

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

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

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

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

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

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

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

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

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

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPlasma_ScrollWidget::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::ScrollWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

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

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

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

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

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

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

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

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

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

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

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

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

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

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

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

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

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

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

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

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

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

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

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

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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

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

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

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

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

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

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

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

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

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

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_ScrollWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_ScrollWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_ScrollWidget = {
    & ::Plasma::ScrollWidget::staticMetaObject,
    0,
    signals_Plasma_ScrollWidget
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ScrollWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ScrollWidget,
        {0},
        &plugin_Plasma_ScrollWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/scrollbar.sip"
#include <plasma/widgets/scrollbar.h>
#line 4288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 4292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 4301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 4364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 4376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 4400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 4436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 4445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 4460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 4463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 4478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 4481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::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 hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    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;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

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

sipPlasma_ScrollBar::~sipPlasma_ScrollBar()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

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

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

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

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

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

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

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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

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

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

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

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

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

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

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

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

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

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

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

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

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

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

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

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

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

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

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

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

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

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

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(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[36],sipPySelf,NULL,sipName_itemChange);

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

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

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

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

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

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

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

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

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

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

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

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

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

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

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

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

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(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[50],sipPySelf,NULL,sipName_paint);

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

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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

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

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

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

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(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[52]),sipPySelf,NULL,sipName_isObscuredBy);

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

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(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[53]),sipPySelf,NULL,sipName_collidesWithPath);

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

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

    return sipVH_plasma_37(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[54]),sipPySelf,NULL,sipName_collidesWithItem);

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

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(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[55]),sipPySelf,NULL,sipName_contains);

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

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(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 || sipIsDerivedClass((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 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_QGraphicsProxyWidget)
        return static_cast< ::QGraphicsProxyWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_ScrollBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_ScrollBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{20, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_ScrollBar = {
    & ::Plasma::ScrollBar::staticMetaObject,
    0,
    signals_Plasma_ScrollBar
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ScrollBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ScrollBar,
        {0},
        &plugin_Plasma_ScrollBar
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/radiobutton.sip"
#include <plasma/widgets/radiobutton.h>
#line 6247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 6251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qradiobutton.sip"
#include <qradiobutton.h>
#line 6260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 6317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 6332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 6335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 6341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 6350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 6353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 6356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 6359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6389 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6392 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 6395 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6398 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6401 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 6404 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 6407 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6410 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6413 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6416 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 6419 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 6422 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6425 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6428 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6431 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6434 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 6437 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 6440 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::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 hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    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;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

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

sipPlasma_RadioButton::~sipPlasma_RadioButton()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

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

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

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

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

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

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

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

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

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

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

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

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

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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

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

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

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

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

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

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

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

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

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

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

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

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

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

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

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

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

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

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

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

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

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

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

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

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

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

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

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

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipPlasma_RadioButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(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[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::RadioButton::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::RadioButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RadioButton::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_RadioButton::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::RadioButton::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(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[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipPlasma_RadioButton::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::RadioButton::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(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[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::RadioButton::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(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[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::Plasma::RadioButton::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(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[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::RadioButton::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(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[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::RadioButton::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_RadioButton::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::RadioButton::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRectF sipPlasma_RadioButton::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::RadioButton::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_RadioButton::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::RadioButton::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsProxyWidget)
        return static_cast< ::QGraphicsProxyWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_RadioButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_RadioButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{20, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_RadioButton = {
    & ::Plasma::RadioButton::staticMetaObject,
    0,
    signals_Plasma_RadioButton
};


sipClassTypeDef sipTypeDef_plasma_Plasma_RadioButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__RadioButton,
        {0},
        &plugin_Plasma_RadioButton
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/pushbutton.sip"
#include <plasma/widgets/pushbutton.h>
#line 8041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8045 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8048 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8051 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 8072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 8078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 8087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8105 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8108 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8111 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 8138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 8159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 8195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 8204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 8219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 8222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 8237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 8240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::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 hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    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;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_PushButton(const sipPlasma_PushButton &);
    sipPlasma_PushButton &operator = (const sipPlasma_PushButton &);

    char sipPyMethods[59];
};

sipPlasma_PushButton::sipPlasma_PushButton( ::QGraphicsWidget*a0):  ::Plasma::PushButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_PushButton::~sipPlasma_PushButton()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_PushButton::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::PushButton::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::PushButton::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::PushButton::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::PushButton::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::PushButton::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_PushButton::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::PushButton::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::PushButton::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_PushButton::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::PushButton::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSizeF sipPlasma_PushButton::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::PushButton::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_PushButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::PushButton::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::PushButton::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::PushButton::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PushButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::PushButton::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_PushButton::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::PushButton::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_PushButton::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::PushButton::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(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[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::PushButton::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::PushButton::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_PushButton::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::PushButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_PushButton::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::PushButton::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::PushButton::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::PushButton::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(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[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::PushButton::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(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[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::Plasma::PushButton::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(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[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::PushButton::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(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[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::PushButton::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_PushButton::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::PushButton::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRectF sipPlasma_PushButton::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::PushButton::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_PushButton::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::PushButton::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsProxyWidget)
        return static_cast< ::QGraphicsProxyWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_PushButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_PushButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{20, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_PushButton = {
    & ::Plasma::PushButton::staticMetaObject,
    0,
    signals_Plasma_PushButton
};


sipClassTypeDef sipTypeDef_plasma_Plasma_PushButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__PushButton,
        {0},
        &plugin_Plasma_PushButton
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/meter.sip"
#include <plasma/widgets/meter.h>
#line 10222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 10247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 10268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 10301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 10307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 10313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 10325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 10364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 10367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 10373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 10376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 10400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 10403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 10406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 10418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 10421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 10424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Meter(const sipPlasma_Meter &);
    sipPlasma_Meter &operator = (const sipPlasma_Meter &);

    char sipPyMethods[59];
};

sipPlasma_Meter::sipPlasma_Meter( ::QGraphicsItem*a0):  ::Plasma::Meter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Meter::~sipPlasma_Meter()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_Meter::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::Meter::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_Meter::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::Meter::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_Meter::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::Meter::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Meter::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::Meter::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::Meter::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Meter::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::Meter::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Meter::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::Meter::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_Meter::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::Meter::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::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::Meter::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::Meter::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(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;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::Meter::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::Meter::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::Meter::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::Meter::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::Meter::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::Meter::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::Meter::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::Meter::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSizeF sipPlasma_Meter::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::Meter::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Meter::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::Meter::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::Meter::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::Meter::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::Meter::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Meter::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::Meter::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::Meter::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Meter::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::Meter::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Meter::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Meter::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Meter::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_Meter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Meter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_Meter = {
    & ::Plasma::Meter::staticMetaObject,
    0,
    signals_Plasma_Meter
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Meter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Meter,
        {0},
        &plugin_Plasma_Meter
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/lineedit.sip"
#include <plasma/widgets/lineedit.h>
#line 12357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 12361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 12388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 12391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 12445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 12469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 12505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 12508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 12514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 12517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 12529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 12532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 12547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 12550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::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 hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    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;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_LineEdit(const sipPlasma_LineEdit &);
    sipPlasma_LineEdit &operator = (const sipPlasma_LineEdit &);

    char sipPyMethods[59];
};

sipPlasma_LineEdit::sipPlasma_LineEdit( ::QGraphicsWidget*a0):  ::Plasma::LineEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_LineEdit::~sipPlasma_LineEdit()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_LineEdit::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::LineEdit::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::LineEdit::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::LineEdit::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_LineEdit::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_LineEdit::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSizeF sipPlasma_LineEdit::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::LineEdit::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_LineEdit::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::LineEdit::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_LineEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::LineEdit::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_LineEdit::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::LineEdit::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_LineEdit::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::LineEdit::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(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[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::LineEdit::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QVariant sipPlasma_LineEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::LineEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_LineEdit::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_LineEdit::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::LineEdit::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::LineEdit::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(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[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::LineEdit::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(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[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::Plasma::LineEdit::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(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[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::LineEdit::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(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[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::LineEdit::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_LineEdit::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::LineEdit::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRectF sipPlasma_LineEdit::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::LineEdit::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_LineEdit::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::LineEdit::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsProxyWidget)
        return static_cast< ::QGraphicsProxyWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_LineEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_LineEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{20, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_LineEdit = {
    & ::Plasma::LineEdit::staticMetaObject,
    0,
    signals_Plasma_LineEdit
};


sipClassTypeDef sipTypeDef_plasma_Plasma_LineEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__LineEdit,
        {0},
        &plugin_Plasma_LineEdit
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/label.sip"
#include <plasma/widgets/label.h>
#line 14330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 14334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 14373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlabel.sip"
#include <qlabel.h>
#line 14382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 14388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 14430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 14436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 14439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 14445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 14448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 14451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 14454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 14490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 14493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 14499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 14502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 14514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 14517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 14523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 14532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 14535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 14538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::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 hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    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;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Label(const sipPlasma_Label &);
    sipPlasma_Label &operator = (const sipPlasma_Label &);

    char sipPyMethods[59];
};

sipPlasma_Label::sipPlasma_Label( ::QGraphicsWidget*a0):  ::Plasma::Label(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Label::~sipPlasma_Label()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_Label::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::Label::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::Label::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::Label::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::Label::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::Label::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Label::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::Label::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::Label::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_Label::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::Label::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSizeF sipPlasma_Label::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::Label::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Label::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::Label::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::Label::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::Label::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Label::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::Label::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Label::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::Label::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Label::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::Label::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(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[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::Label::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::Label::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(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;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(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;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Label::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::Label::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Label::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::Label::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::Label::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::Label::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(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[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::Label::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(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[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::Plasma::Label::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(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[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::Label::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(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[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::Label::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_Label::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::Label::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRectF sipPlasma_Label::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::Label::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Label::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::Label::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsProxyWidget)
        return static_cast< ::QGraphicsProxyWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_Label *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Label(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{20, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_Label = {
    & ::Plasma::Label::staticMetaObject,
    0,
    signals_Plasma_Label
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Label = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Label,
        {0},
        &plugin_Plasma_Label
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/itembackground.sip"
#include <plasma/widgets/itembackground.h>
#line 16552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 16556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 16574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 16577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 16607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 16610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 16616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 16622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 16625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 16634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 16637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 16643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 16679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 16682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 16688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 16691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 16694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 16715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 16718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 16721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 16727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 16736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 16739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 16742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_ItemBackground(const sipPlasma_ItemBackground &);
    sipPlasma_ItemBackground &operator = (const sipPlasma_ItemBackground &);

    char sipPyMethods[59];
};

sipPlasma_ItemBackground::sipPlasma_ItemBackground( ::QGraphicsWidget*a0):  ::Plasma::ItemBackground(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ItemBackground::~sipPlasma_ItemBackground()
{
    sipInstanceDestroyed(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::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_ItemBackground::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_ItemBackground::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ItemBackground::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ItemBackground::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::ItemBackground::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ItemBackground::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_ItemBackground::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ItemBackground::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::ItemBackground::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ItemBackground::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(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;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipPlasma_ItemBackground::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSizeF sipPlasma_ItemBackground::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ItemBackground::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_ItemBackground::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ItemBackground::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::ItemBackground::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ItemBackground::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ItemBackground::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::ItemBackground::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_ItemBackground *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_ItemBackground(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_ItemBackground = {
    & ::Plasma::ItemBackground::staticMetaObject,
    0,
    signals_Plasma_ItemBackground
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ItemBackground = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ItemBackground,
        {0},
        &plugin_Plasma_ItemBackground
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/iconwidget.sip"
#include <plasma/widgets/iconwidget.h>
#line 18291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 18331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 18334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 18337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 18367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 18376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 18382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 18385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 18388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 18391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 18430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 18433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 18439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 18442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 18463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 18466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 18481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 18484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 18487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_IconWidget(const sipPlasma_IconWidget &);
    sipPlasma_IconWidget &operator = (const sipPlasma_IconWidget &);

    char sipPyMethods[59];
};

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()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_IconWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_IconWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::IconWidget::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_IconWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::IconWidget::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_IconWidget::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::IconWidget::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::IconWidget::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_IconWidget::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::IconWidget::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_IconWidget::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::IconWidget::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_IconWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::IconWidget::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::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::IconWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::IconWidget::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::IconWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::IconWidget::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::IconWidget::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::IconWidget::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::IconWidget::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::IconWidget::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSizeF sipPlasma_IconWidget::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::IconWidget::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_IconWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_IconWidget::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::IconWidget::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::IconWidget::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_IconWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::IconWidget::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_IconWidget::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_IconWidget::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::IconWidget::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_IconWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_IconWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_IconWidget = {
    & ::Plasma::IconWidget::staticMetaObject,
    0,
    signals_Plasma_IconWidget
};


sipClassTypeDef sipTypeDef_plasma_Plasma_IconWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__IconWidget,
        {0},
        &plugin_Plasma_IconWidget
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/groupbox.sip"
#include <plasma/widgets/groupbox.h>
#line 21128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 21132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qgroupbox.sip"
#include <qgroupbox.h>
#line 21141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 21198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 21204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 21213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 21216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 21240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 21276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 21285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 21300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 21303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 21318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 21321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void ungrabKeyboardEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabMouseEvent( ::QEvent*);
    void showEvent( ::QShowEvent*);
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void hideEvent( ::QHideEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent( ::QCloseEvent*);
    void changeEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    bool windowFrameEvent( ::QEvent*);
    void initStyleOption( ::QStyleOption*) const;
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void setGeometry(const  ::QRectF&);
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void updateGeometry();
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::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 hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    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;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_GroupBox(const sipPlasma_GroupBox &);
    sipPlasma_GroupBox &operator = (const sipPlasma_GroupBox &);

    char sipPyMethods[59];
};

sipPlasma_GroupBox::sipPlasma_GroupBox( ::QGraphicsWidget*a0):  ::Plasma::GroupBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_GroupBox::~sipPlasma_GroupBox()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_GroupBox::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GroupBox::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::GroupBox::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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[12]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::GroupBox::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::GroupBox::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_GroupBox::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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[17]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_GroupBox::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSizeF sipPlasma_GroupBox::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::GroupBox::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_GroupBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::GroupBox::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_GroupBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::GroupBox::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_GroupBox::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::GroupBox::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_GroupBox::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::GroupBox::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(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[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::GroupBox::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::GroupBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_GroupBox::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_GroupBox::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::GroupBox::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(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[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipPlasma_GroupBox::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::GroupBox::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(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[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::GroupBox::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(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[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::Plasma::GroupBox::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(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[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::GroupBox::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(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[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::GroupBox::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_GroupBox::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::GroupBox::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRectF sipPlasma_GroupBox::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::GroupBox::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_GroupBox::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::GroupBox::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsProxyWidget)
        return static_cast< ::QGraphicsProxyWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_GroupBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_GroupBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{20, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_GroupBox = {
    & ::Plasma::GroupBox::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_GroupBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__GroupBox,
        {0},
        &plugin_Plasma_GroupBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/frame.sip"
#include <plasma/widgets/frame.h>
#line 22801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 22805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 22811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 22826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 22862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 22865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 22892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 22931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 22940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 22970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 22973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22985 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 22988 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 22991 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Frame(const sipPlasma_Frame &);
    sipPlasma_Frame &operator = (const sipPlasma_Frame &);

    char sipPyMethods[59];
};

sipPlasma_Frame::sipPlasma_Frame( ::QGraphicsWidget*a0):  ::Plasma::Frame(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Frame::~sipPlasma_Frame()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_Frame::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::Frame::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_Frame::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::Frame::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_Frame::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::Frame::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Frame::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::Frame::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::Frame::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Frame::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::Frame::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Frame::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::Frame::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_Frame::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::Frame::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::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::Frame::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::Frame::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(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;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::Frame::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::Frame::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::Frame::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::Frame::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::Frame::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::Frame::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::Frame::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::Frame::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSizeF sipPlasma_Frame::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::Frame::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Frame::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::Frame::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::Frame::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::Frame::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::Frame::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Frame::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::Frame::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::Frame::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::Frame::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Frame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::Frame::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Frame::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Frame::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Frame::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_Frame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Frame(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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},
};


static pyqt4ClassPluginDef plugin_Plasma_Frame = {
    & ::Plasma::Frame::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Frame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Frame,
        {0},
        &plugin_Plasma_Frame
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/flashinglabel.sip"
#include <plasma/widgets/flashinglabel.h>
#line 24708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 24715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 24730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 24733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 24781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 24790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 24796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 24805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 24808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 24847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 24856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 24883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 24886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 24889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 24904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 24907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    void advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_FlashingLabel(const sipPlasma_FlashingLabel &);
    sipPlasma_FlashingLabel &operator = (const sipPlasma_FlashingLabel &);

    char sipPyMethods[59];
};

sipPlasma_FlashingLabel::sipPlasma_FlashingLabel( ::QGraphicsItem*a0):  ::Plasma::FlashingLabel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_FlashingLabel::~sipPlasma_FlashingLabel()
{
    sipInstanceDestroyed(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);
}

void sipPlasma_FlashingLabel::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_FlashingLabel::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_FlashingLabel::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_FlashingLabel::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_FlashingLabel::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::FlashingLabel::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_FlashingLabel::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_FlashingLabel::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::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::FlashingLabel::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(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;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSizeF sipPlasma_FlashingLabel::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_FlashingLabel::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_FlashingLabel::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_FlashingLabel::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::FlashingLabel::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_FlashingLabel::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_FlashingLabel::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::FlashingLabel::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_FlashingLabel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_FlashingLabel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_FlashingLabel = {
    & ::Plasma::FlashingLabel::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_FlashingLabel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__FlashingLabel,
        {0},
        &plugin_Plasma_FlashingLabel
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/declarativewidget.sip"
#include <plasma/widgets/declarativewidget.h>
#line 26604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"

#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 26608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtScript/qscriptengine.sip"
#include <qscriptengine.h>
#line 26611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtDeclarative/qdeclarativecomponent.sip"
#include <qdeclarativecomponent.h>
#line 26617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 26623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 26668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 26671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 26674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 26695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 26698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 26704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 26740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 26743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 26749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 26752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 26779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 26782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 26797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 26800 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26803 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 advance(int);
     ::QRectF boundingRect() const;
     ::QPainterPath shape() const;
    bool contains(const  ::QPointF&) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
     ::QPainterPath opaqueArea() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    int type() const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    bool sceneEvent( ::QEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSizeF sizeHint( ::Qt::SizeHint,const  ::QSizeF&) const;
    void updateGeometry();
    void getContentsMargins( ::qreal*, ::qreal*, ::qreal*, ::qreal*) const;
    void setGeometry(const  ::QRectF&);
    void paintWindowFrame( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
    void initStyleOption( ::QStyleOption*) const;
    bool windowFrameEvent( ::QEvent*);
     ::Qt::WindowFrameSection windowFrameSectionAt(const  ::QPointF&) const;
    void changeEvent( ::QEvent*);
    void closeEvent( ::QCloseEvent*);
    bool focusNextPrevChild(bool);
    void hideEvent( ::QHideEvent*);
    void moveEvent( ::QGraphicsSceneMoveEvent*);
    void polishEvent();
    void resizeEvent( ::QGraphicsSceneResizeEvent*);
    void showEvent( ::QShowEvent*);
    void grabMouseEvent( ::QEvent*);
    void ungrabMouseEvent( ::QEvent*);
    void grabKeyboardEvent( ::QEvent*);
    void ungrabKeyboardEvent( ::QEvent*);

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()
{
    sipInstanceDestroyed(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::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_DeclarativeWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_DeclarativeWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_DeclarativeWidget::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DeclarativeWidget::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::DeclarativeWidget::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DeclarativeWidget::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_DeclarativeWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DeclarativeWidget::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::DeclarativeWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(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[9]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DeclarativeWidget::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(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[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(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[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::sceneEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::sceneEventFilter(a0,a1);

    extern bool sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem*, ::QEvent*);

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSizeF sipPlasma_DeclarativeWidget::sizeHint( ::Qt::SizeHint a0,const  ::QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DeclarativeWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(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[41]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(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[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::paintWindowFrame( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_DeclarativeWidget::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::windowFrameEvent(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DeclarativeWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::DeclarativeWidget::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DeclarativeWidget::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::grabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::ungrabMouseEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::grabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DeclarativeWidget::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::DeclarativeWidget::ungrabKeyboardEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(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 || sipIsDerivedClass((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 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_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_DeclarativeWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_DeclarativeWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{31, 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}
};


static pyqt4ClassPluginDef plugin_Plasma_DeclarativeWidget = {
    & ::Plasma::DeclarativeWidget::staticMetaObject,
    0,
    signals_Plasma_DeclarativeWidget
};


sipClassTypeDef sipTypeDef_plasma_Plasma_DeclarativeWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DeclarativeWidget,
        {0},
        &plugin_Plasma_DeclarativeWidget
    },
    {
        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
};
