/*
 * Module code.
 *
 * Generated by SIP 4.16.4 on Thu Nov 20 23:32:54 2014
 */

#include "sipAPIplasma.h"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/combobox.sip"
#include <plasma/widgets/combobox.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 53 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcombobox.sip"
#include <kcombobox.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 140 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1975 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 223 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 193 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 112 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 83 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 110 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 73 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 79 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 82 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 85 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 244 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 88 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 91 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 119 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 94 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 97 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1149 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1109 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_ComboBox : public Plasma::ComboBox
{
public:
    sipPlasma_ComboBox(QGraphicsWidget*);
    virtual ~sipPlasma_ComboBox();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[70];
};

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

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

const QMetaObject *sipPlasma_ComboBox::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ComboBox);
}

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

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

    return _id;
}

void *sipPlasma_ComboBox::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ComboBox, _clname)) ? this : Plasma::ComboBox::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ComboBox, &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_ComboBox, sipName_text, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ComboBox, &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_ComboBox, sipName_setStyleSheet, NULL);

    return NULL;
}


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

    {
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ComboBox, &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_ComboBox, sipName_styleSheet, NULL);

    return NULL;
}


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

    {
        const Plasma::ComboBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem(*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_ComboBox, sipName_addItem, NULL);

    return NULL;
}


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

    {
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_resizeEvent, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8J8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_paint, NULL);

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_hoverEnterEvent, NULL);

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent* a0;
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


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

    {
        KComboBox* a0;
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_KComboBox, &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_ComboBox, sipName_setNativeWidget, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_focusInEvent, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_focusOutEvent, NULL);

    return NULL;
}


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

    {
        QEvent* a0;
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_changeEvent, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ComboBox::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_ComboBox, sipName_mousePressEvent, NULL);

    return NULL;
}


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

    {
        const Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ComboBox, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ComboBox, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Plasma::ComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_ComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentIndex(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_ComboBox, sipName_setCurrentIndex, NULL);

    return NULL;
}


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

    if (targetType == sipType_Plasma_ComboBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsProxyWidget)->ctd_cast((QGraphicsProxyWidget *)(Plasma::ComboBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ComboBox(void *, int);}
static void release_Plasma_ComboBox(void *sipCppV,int)
{
    Plasma::ComboBox *sipCpp = reinterpret_cast<Plasma::ComboBox *>(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_ComboBox(sipSimpleWrapper *);}
static void dealloc_Plasma_ComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ComboBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_ComboBox[] = {
    {SIP_MLNAME_CAST(sipName_addItem), meth_Plasma_ComboBox_addItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_ComboBox_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_Plasma_ComboBox_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_Plasma_ComboBox_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_Plasma_ComboBox_currentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_ComboBox_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_ComboBox_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_ComboBox_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_ComboBox_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_ComboBox_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_ComboBox_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_ComboBox_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ComboBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_Plasma_ComboBox_setCurrentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNativeWidget), meth_Plasma_ComboBox_setNativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_ComboBox_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_ComboBox_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_ComboBox_text, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_ComboBox[] = {
    {"currentIndexChanged(int)", 0, 0, 0},
    {"textChanged(QString)", 0, 0, 0},
    {"activated(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ComboBox,
        {0}
    },
    {
        sipNameNr_ComboBox,
        {1, 255, 0},
        18, methods_Plasma_ComboBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ComboBox,
    0,
    init_type_Plasma_ComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ComboBox,
    0,
    0,
    0,
    release_Plasma_ComboBox,
    cast_Plasma_ComboBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ComboBox::staticMetaObject,
    0,
    signals_Plasma_ComboBox,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/checkbox.sip"
#include <plasma/widgets/checkbox.h>
#line 1994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 223 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qcheckbox.sip"
#include <qcheckbox.h>
#line 2007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 193 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 112 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 83 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 53 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 140 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 110 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1975 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 244 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 119 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 2082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 2106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 2142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1149 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 2151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 2166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 2169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1109 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 2184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 2187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_CheckBox : public Plasma::CheckBox
{
public:
    sipPlasma_CheckBox(QGraphicsWidget*);
    virtual ~sipPlasma_CheckBox();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

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

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

const QMetaObject *sipPlasma_CheckBox::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_CheckBox);
}

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

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

    return _id;
}

void *sipPlasma_CheckBox::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_CheckBox, _clname)) ? this : Plasma::CheckBox::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_setText, NULL);

    return NULL;
}


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

    {
        const Plasma::CheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_text, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_setImage, NULL);

    return NULL;
}


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

    {
        const Plasma::CheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_image, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_setStyleSheet, NULL);

    return NULL;
}


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

    {
        Plasma::CheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_styleSheet, NULL);

    return NULL;
}


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

    {
        const Plasma::CheckBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::CheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_setChecked, NULL);

    return NULL;
}


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

    {
        const Plasma::CheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_CheckBox, &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_CheckBox, sipName_isChecked, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_CheckBox, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::CheckBox::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_CheckBox, sipName_resizeEvent, NULL);

    return NULL;
}


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

    {
        QEvent* a0;
        Plasma::CheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_CheckBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::CheckBox::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_CheckBox, sipName_changeEvent, NULL);

    return NULL;
}


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

    if (targetType == sipType_Plasma_CheckBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsProxyWidget)->ctd_cast((QGraphicsProxyWidget *)(Plasma::CheckBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_CheckBox(void *, int);}
static void release_Plasma_CheckBox(void *sipCppV,int)
{
    Plasma::CheckBox *sipCpp = reinterpret_cast<Plasma::CheckBox *>(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_CheckBox(sipSimpleWrapper *);}
static void dealloc_Plasma_CheckBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_CheckBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_CheckBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_CheckBox[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_CheckBox_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_CheckBox_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_Plasma_CheckBox_isChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_CheckBox_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_CheckBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_Plasma_CheckBox_setChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_CheckBox_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_CheckBox_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_CheckBox_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_CheckBox_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_CheckBox_text, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_CheckBox[] = {
    {"toggled(bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_CheckBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__CheckBox,
        {0}
    },
    {
        sipNameNr_CheckBox,
        {1, 255, 0},
        11, methods_Plasma_CheckBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_CheckBox,
    0,
    init_type_Plasma_CheckBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_CheckBox,
    0,
    0,
    0,
    release_Plasma_CheckBox,
    cast_Plasma_CheckBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::CheckBox::staticMetaObject,
    0,
    signals_Plasma_CheckBox,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/busywidget.sip"
#include <plasma/widgets/busywidget.h>
#line 3773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 3777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 53 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 223 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1975 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 140 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 244 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 119 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 112 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 3840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 3849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 3861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 3867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 3903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1149 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 3912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 3915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 83 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 193 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 110 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 3942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1109 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 3957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 3960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_BusyWidget : public Plasma::BusyWidget
{
public:
    sipPlasma_BusyWidget(QGraphicsWidget*);
    virtual ~sipPlasma_BusyWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

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

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

const QMetaObject *sipPlasma_BusyWidget::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_BusyWidget);
}

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

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

    return _id;
}

void *sipPlasma_BusyWidget::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_BusyWidget, _clname)) ? this : Plasma::BusyWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_BusyWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::BusyWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_BusyWidget::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_BusyWidget::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_BusyWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::BusyWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_BusyWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::BusyWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_BusyWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::BusyWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_BusyWidget::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::BusyWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_BusyWidget::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::BusyWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_BusyWidget::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::BusyWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_BusyWidget::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::BusyWidget::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_BusyWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::BusyWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSizeF sipPlasma_BusyWidget::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::BusyWidget::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_BusyWidget::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::BusyWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_BusyWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::BusyWidget::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRectF sipPlasma_BusyWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::BusyWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_BusyWidget::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::BusyWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_BusyWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::BusyWidget::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_BusyWidget::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::BusyWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_BusyWidget::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::BusyWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_setRunning(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_setRunning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRunning(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_BusyWidget, sipName_setRunning, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_isRunning(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_isRunning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRunning();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_BusyWidget, sipName_isRunning, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_setLabel(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(*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_BusyWidget, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_label(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_label(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->label());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_BusyWidget, sipName_label, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8|J8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::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_BusyWidget, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::showEvent(a0) : sipCpp->showEvent(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_BusyWidget, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::hideEvent(a0) : sipCpp->hideEvent(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_BusyWidget, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::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_BusyWidget, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::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_BusyWidget, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::timerEvent(a0) : sipCpp->timerEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_BusyWidget, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_BusyWidget_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_BusyWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::BusyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_BusyWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::BusyWidget::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_BusyWidget, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_BusyWidget(void *, const sipTypeDef *);}
static void *cast_Plasma_BusyWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_BusyWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::BusyWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_BusyWidget(void *, int);}
static void release_Plasma_BusyWidget(void *sipCppV,int)
{
    Plasma::BusyWidget *sipCpp = reinterpret_cast<Plasma::BusyWidget *>(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_BusyWidget(sipSimpleWrapper *);}
static void dealloc_Plasma_BusyWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_BusyWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_BusyWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_BusyWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_BusyWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_BusyWidget *sipCpp = 0;

    {
        QGraphicsWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QGraphicsWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_BusyWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_BusyWidget[] = {{218, 2, 1}};


static PyMethodDef methods_Plasma_BusyWidget[] = {
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_BusyWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRunning), meth_Plasma_BusyWidget_isRunning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_Plasma_BusyWidget_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_BusyWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_BusyWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_BusyWidget_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_BusyWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_Plasma_BusyWidget_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRunning), meth_Plasma_BusyWidget_setRunning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_BusyWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_BusyWidget_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_BusyWidget[] = {
    {"clicked()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_BusyWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__BusyWidget,
        {0}
    },
    {
        sipNameNr_BusyWidget,
        {1, 255, 0},
        11, methods_Plasma_BusyWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_BusyWidget,
    0,
    init_type_Plasma_BusyWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_BusyWidget,
    0,
    0,
    0,
    release_Plasma_BusyWidget,
    cast_Plasma_BusyWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::BusyWidget::staticMetaObject,
    0,
    signals_Plasma_BusyWidget,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/wallpaper.sip"
#include <plasma/wallpaper.h>
#line 5549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 112 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 5583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 5589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 5592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 5598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 5607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 83 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 53 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 5625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 5628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 5631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_Wallpaper : public Plasma::Wallpaper
{
public:
    sipPlasma_Wallpaper(QObject*);
    sipPlasma_Wallpaper(QObject*,const QVariantList&);
    virtual ~sipPlasma_Wallpaper();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void init(const KConfigGroup&);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    QWidget* createConfigurationInterface(QWidget*);
    void save(KConfigGroup&);
    void paint(QPainter*,const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Wallpaper(const sipPlasma_Wallpaper &);
    sipPlasma_Wallpaper &operator = (const sipPlasma_Wallpaper &);

    char sipPyMethods[15];
};

sipPlasma_Wallpaper::sipPlasma_Wallpaper(QObject*a0): Plasma::Wallpaper(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Wallpaper::sipPlasma_Wallpaper(QObject*a0,const QVariantList& a1): Plasma::Wallpaper(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Wallpaper::~sipPlasma_Wallpaper()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Wallpaper::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Wallpaper);
}

int sipPlasma_Wallpaper::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Wallpaper::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Wallpaper,_c,_id,_a);

    return _id;
}

void *sipPlasma_Wallpaper::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Wallpaper, _clname)) ? this : Plasma::Wallpaper::qt_metacast(_clname);
}

void sipPlasma_Wallpaper::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Wallpaper::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Wallpaper::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Wallpaper::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Wallpaper::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Wallpaper::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Wallpaper::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::init(const KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::Wallpaper::init(a0);
        return;
    }

    typedef void (*sipVH_kdeui_65)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KConfigGroup&);

    ((sipVH_kdeui_65)(sipModuleAPI_plasma_kdeui->em_virthandlers[65]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Wallpaper::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipPlasma_Wallpaper::createConfigurationInterface(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
        return Plasma::Wallpaper::createConfigurationInterface(a0);

    typedef QWidget* (*sipVH_kdeui_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_kdeui_42)(sipModuleAPI_plasma_kdeui->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::save(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::Wallpaper::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Wallpaper::paint(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_Wallpaper,sipName_paint);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_listWallpaperInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_listWallpaperInfo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Wallpaper::listWallpaperInfo(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_listWallpaperInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_load(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_load(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QVariantList& a1def = QVariantList();
        const QVariantList* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1", sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Plasma::Wallpaper*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Wallpaper::load(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_Wallpaper,NULL);
        }
    }

    {
        const KPluginInfo* a0;
        const QVariantList& a1def = QVariantList();
        const QVariantList* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KPluginInfo, &a0, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Plasma::Wallpaper*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Wallpaper::load(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_Wallpaper,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_packageStructure(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_packageStructure(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Wallpaper* a0 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J8", sipType_Plasma_Wallpaper, &a0))
        {
            Plasma::PackageStructure::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageStructure::Ptr(Plasma::Wallpaper::packageStructure(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KSharedPtr_0100Plasma_PackageStructure,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_packageStructure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_pluginName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_pluginName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pluginName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_pluginName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_renderingMode(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_renderingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            KServiceAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KServiceAction(sipCpp->renderingMode());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KServiceAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_renderingMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setRenderingMode(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setRenderingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRenderingMode(*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_Wallpaper, sipName_setRenderingMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_listRenderingModes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_listRenderingModes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QList<KServiceAction>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KServiceAction>(sipCpp->listRenderingModes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KServiceAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_listRenderingModes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_isInitialized(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_isInitialized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInitialized();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_isInitialized, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->boundingRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_boundingRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QRectF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBoundingRect(*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_Wallpaper, sipName_setBoundingRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QPainter* a0;
        const QRectF* a1;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_Wallpaper, sipName_paint);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(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_Wallpaper, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_restore(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_restore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->restore(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_restore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_save(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::save(*a0) : sipCpp->save(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_createConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_createConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QWidget, &a0))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::createConfigurationInterface(a0) : sipCpp->createConfigurationInterface(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_createConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::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_Wallpaper, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::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_Wallpaper, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::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_Wallpaper, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::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_Wallpaper, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_dataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_configurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_configurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->configurationRequired();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_configurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_isUsingRenderingCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_isUsingRenderingCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUsingRenderingCache();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_isUsingRenderingCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setResizeMethodHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setResizeMethodHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Wallpaper::ResizeMethod a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_Plasma_Wallpaper_ResizeMethod, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResizeMethodHint(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_Wallpaper, sipName_setResizeMethodHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setTargetSizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setTargetSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetSizeHint(*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_Wallpaper, sipName_setTargetSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_init(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_init(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfigGroup* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Wallpaper::init(*a0) : sipCpp->init(*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_Wallpaper, sipName_init, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb|J1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_render(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_render(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QSize* a1;
        Plasma::Wallpaper::ResizeMethod a2 = Plasma::Wallpaper::ScaledResize;
        const QColor& a3def = QColor(0,0,0);
        const QColor* a3 = &a3def;
        int a3State = 0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9|EJ1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1, sipType_Plasma_Wallpaper_ResizeMethod, &a2, sipType_QColor, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->render(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QColor *>(a3),sipType_QColor,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QImage* a0;
        const QSize* a1;
        Plasma::Wallpaper::ResizeMethod a2 = Plasma::Wallpaper::ScaledResize;
        const QColor& a3def = QColor(0,0,0);
        const QColor* a3 = &a3def;
        int a3State = 0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9|EJ1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QImage, &a0, sipType_QSize, &a1, sipType_Plasma_Wallpaper_ResizeMethod, &a2, sipType_QColor, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->render(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a3),sipType_QColor,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_render, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setUsingRenderingCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setUsingRenderingCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUsingRenderingCache(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_setUsingRenderingCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_findInCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_findInCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QImage* a1;
        uint a2 = 0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9|u", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QString,&a0, &a0State, sipType_QImage, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findInCache(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_findInCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_insertIntoCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_insertIntoCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QImage* a1;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QString,&a0, &a0State, sipType_QImage, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertIntoCache(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_insertIntoCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_listWallpaperInfoForMimetype(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_listWallpaperInfoForMimetype(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Wallpaper::listWallpaperInfoForMimetype(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_listWallpaperInfoForMimetype, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_package(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            const Plasma::Package*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->package();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_package, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_contextualActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_contextualActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QList<QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>(sipCpp->contextualActions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_contextualActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setContextualActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setContextualActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QAction*>* a0;
        int a0State = 0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QList_0101QAction,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextualActions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QAction*> *>(a0),sipType_QList_0101QAction,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_setContextualActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_isPreviewing(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_isPreviewing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPreviewing();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_isPreviewing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setPreviewing(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setPreviewing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreviewing(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_Wallpaper, sipName_setPreviewing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_needsPreviewDuringConfiguration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_needsPreviewDuringConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->needsPreviewDuringConfiguration();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_needsPreviewDuringConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setPreviewDuringConfiguration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setPreviewDuringConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreviewDuringConfiguration(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_Wallpaper, sipName_setPreviewDuringConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_setUrls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_setUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_KUrl_List, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrls(*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_Wallpaper, sipName_setUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_supportsMimetype(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_supportsMimetype(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsMimetype(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_supportsMimetype, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_addUrls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_addUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List* a0;
        Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp, sipType_KUrl_List, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addUrls(*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_Wallpaper, sipName_addUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_resizeMethodHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_resizeMethodHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            Plasma::Wallpaper::ResizeMethod sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resizeMethodHint();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Wallpaper_ResizeMethod);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_resizeMethodHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Wallpaper_targetSizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Wallpaper_targetSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Wallpaper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Wallpaper, &sipCpp))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->targetSizeHint());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Wallpaper, sipName_targetSizeHint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Wallpaper(void *, const sipTypeDef *);}
static void *cast_Plasma_Wallpaper(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Wallpaper)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::Wallpaper *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Wallpaper(void *, int);}
static void release_Plasma_Wallpaper(void *sipCppV,int)
{
    Plasma::Wallpaper *sipCpp = reinterpret_cast<Plasma::Wallpaper *>(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_Wallpaper(sipSimpleWrapper *);}
static void dealloc_Plasma_Wallpaper(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Wallpaper *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Wallpaper(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_Wallpaper(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Wallpaper(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Wallpaper *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Wallpaper(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;
        const QVariantList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Wallpaper(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Wallpaper[] = {{141, 0, 1}};


static PyMethodDef methods_Plasma_Wallpaper[] = {
    {SIP_MLNAME_CAST(sipName_addUrls), meth_Plasma_Wallpaper_addUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_Plasma_Wallpaper_boundingRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configurationRequired), meth_Plasma_Wallpaper_configurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextualActions), meth_Plasma_Wallpaper_contextualActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createConfigurationInterface), meth_Plasma_Wallpaper_createConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_Wallpaper_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findInCache), meth_Plasma_Wallpaper_findInCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_Wallpaper_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_Wallpaper_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertIntoCache), meth_Plasma_Wallpaper_insertIntoCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInitialized), meth_Plasma_Wallpaper_isInitialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPreviewing), meth_Plasma_Wallpaper_isPreviewing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUsingRenderingCache), meth_Plasma_Wallpaper_isUsingRenderingCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listRenderingModes), meth_Plasma_Wallpaper_listRenderingModes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listWallpaperInfo), meth_Plasma_Wallpaper_listWallpaperInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listWallpaperInfoForMimetype), meth_Plasma_Wallpaper_listWallpaperInfoForMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Plasma_Wallpaper_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Wallpaper_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Wallpaper_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_Wallpaper_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_Wallpaper_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needsPreviewDuringConfiguration), meth_Plasma_Wallpaper_needsPreviewDuringConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_Wallpaper_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_packageStructure), meth_Plasma_Wallpaper_packageStructure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Wallpaper_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginName), meth_Plasma_Wallpaper_pluginName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_render), meth_Plasma_Wallpaper_render, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_renderingMode), meth_Plasma_Wallpaper_renderingMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeMethodHint), meth_Plasma_Wallpaper_resizeMethodHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restore), meth_Plasma_Wallpaper_restore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Plasma_Wallpaper_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBoundingRect), meth_Plasma_Wallpaper_setBoundingRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_Wallpaper_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextualActions), meth_Plasma_Wallpaper_setContextualActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewDuringConfiguration), meth_Plasma_Wallpaper_setPreviewDuringConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewing), meth_Plasma_Wallpaper_setPreviewing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRenderingMode), meth_Plasma_Wallpaper_setRenderingMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setResizeMethodHint), meth_Plasma_Wallpaper_setResizeMethodHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetSizeHint), meth_Plasma_Wallpaper_setTargetSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrls), meth_Plasma_Wallpaper_setUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsingRenderingCache), meth_Plasma_Wallpaper_setUsingRenderingCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsMimetype), meth_Plasma_Wallpaper_supportsMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetSizeHint), meth_Plasma_Wallpaper_targetSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_Wallpaper_wheelEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Wallpaper[] = {
    {sipName_CenterTiledResize, static_cast<int>(Plasma::Wallpaper::CenterTiledResize), 142},
    {sipName_CenteredResize, static_cast<int>(Plasma::Wallpaper::CenteredResize), 142},
    {sipName_LastResizeMethod, static_cast<int>(Plasma::Wallpaper::LastResizeMethod), 142},
    {sipName_MaxpectResize, static_cast<int>(Plasma::Wallpaper::MaxpectResize), 142},
    {sipName_ScaledAndCroppedResize, static_cast<int>(Plasma::Wallpaper::ScaledAndCroppedResize), 142},
    {sipName_ScaledResize, static_cast<int>(Plasma::Wallpaper::ScaledResize), 142},
    {sipName_TiledResize, static_cast<int>(Plasma::Wallpaper::TiledResize), 142},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Wallpaper[] = {
    {"urlDropped(KUrl)", 0, 0, 0},
    {"renderHintsChanged()", 0, 0, 0},
    {"renderCompleted(QImage)", 0, 0, 0},
    {"configNeedsSaving()", 0, 0, 0},
    {"configureRequested()", 0, 0, 0},
    {"update(QRectF)", 0, 0, 0},
    {"configurationRequired(bool)", 0, &methods_Plasma_Wallpaper[2], 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Wallpaper = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Wallpaper,
        {0}
    },
    {
        sipNameNr_Wallpaper,
        {1, 255, 0},
        44, methods_Plasma_Wallpaper,
        7, enummembers_Plasma_Wallpaper,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Wallpaper,
    0,
    init_type_Plasma_Wallpaper,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Wallpaper,
    0,
    0,
    0,
    release_Plasma_Wallpaper,
    cast_Plasma_Wallpaper,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Wallpaper::staticMetaObject,
    0,
    signals_Plasma_Wallpaper,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/view.sip"
#include <plasma/view.h>
#line 7507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 7511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 7517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 7535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 7541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 7544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 7550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1975 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 7553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 7604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbrush.sip"
#include <qbrush.h>
#line 7607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 119 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 7613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 7616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 7619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 7628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 7631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 7634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 7649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 7655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 7742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_View : public Plasma::View
{
public:
    sipPlasma_View(Plasma::Containment*,QWidget*);
    sipPlasma_View(Plasma::Containment*,int,QWidget*);
    virtual ~sipPlasma_View();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    QSize minimumSizeHint() const;
    void drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*);
    void drawForeground(QPainter*,const QRectF&);
    void drawBackground(QPainter*,const QRectF&);
    void inputMethodEvent(QInputMethodEvent*);
    void showEvent(QShowEvent*);
    void scrollContentsBy(int,int);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    QSize sizeHint() const;
    void setContainment(Plasma::Containment*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_View(const sipPlasma_View &);
    sipPlasma_View &operator = (const sipPlasma_View &);

    char sipPyMethods[53];
};

sipPlasma_View::sipPlasma_View(Plasma::Containment*a0,QWidget*a1): Plasma::View(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_View::sipPlasma_View(Plasma::Containment*a0,int a1,QWidget*a2): Plasma::View(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_View::~sipPlasma_View()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_View::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_View);
}

int sipPlasma_View::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::View::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_View,_c,_id,_a);

    return _id;
}

void *sipPlasma_View::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_View, _clname)) ? this : Plasma::View::qt_metacast(_clname);
}

void sipPlasma_View::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::View::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::View::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::View::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::View::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::View::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_View::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::View::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_View::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        Plasma::View::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_View::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        Plasma::View::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        Plasma::View::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_plasma_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        Plasma::View::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_plasma_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        Plasma::View::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_View::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return Plasma::View::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::View::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        Plasma::View::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_plasma_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        Plasma::View::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_plasma_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::View::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::View::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        Plasma::View::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        Plasma::View::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipPlasma_View::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return Plasma::View::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_plasma_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipPlasma_View::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return Plasma::View::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_plasma_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        Plasma::View::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_View::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return Plasma::View::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_View::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::View::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipPlasma_View::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return Plasma::View::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_plasma_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_View::drawItems(QPainter*a0,int a1,QGraphicsItem**a2,const QStyleOptionGraphicsItem*a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_drawItems);

    if (!sipMeth)
    {
        Plasma::View::drawItems(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_184)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*);

    ((sipVH_QtGui_184)(sipModuleAPI_plasma_QtGui->em_virthandlers[184]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_View::drawForeground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
        Plasma::View::drawForeground(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_View::drawBackground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
        Plasma::View::drawBackground(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_View::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::View::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::View::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        Plasma::View::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_plasma_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_View::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::View::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_plasma_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        Plasma::View::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_plasma_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::View::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_plasma_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::View::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::View::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::View::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::View::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::View::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::View::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_View::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::View::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::View::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::View::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::View::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_plasma_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::View::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_plasma_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::View::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_plasma_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::View::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_plasma_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_View::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::View::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_plasma_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_View::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return Plasma::View::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_View::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::View::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_View::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::View::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipPlasma_View::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::View::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_plasma_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_View::setContainment(Plasma::Containment*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setContainment);

    if (!sipMeth)
    {
        Plasma::View::setContainment(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Containment*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_View_setWallpaperEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_setWallpaperEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_View, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWallpaperEnabled(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_View, sipName_setWallpaperEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_isWallpaperEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_isWallpaperEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWallpaperEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_isWallpaperEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_setScreen(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_setScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = -1;
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|i", &sipSelf, sipType_Plasma_View, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScreen(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_View, sipName_setScreen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_screen(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_screen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->screen();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_screen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_desktop(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_desktop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->desktop();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_desktop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_effectiveDesktop(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_effectiveDesktop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->effectiveDesktop();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_effectiveDesktop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_containment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_containment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containment();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_containment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_swapContainment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_swapContainment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Containment* a0;
        const QString* a1;
        int a1State = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList* a2 = &a2def;
        int a2State = 0;
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1|J1", &sipSelf, sipType_Plasma_View, &sipCpp, sipType_Plasma_Containment, &a0, sipType_QString,&a1, &a1State, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->swapContainment(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QVariantList& a1def = QVariantList();
        const QVariantList* a1 = &a1def;
        int a1State = 0;
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Plasma_View, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->swapContainment(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_swapContainment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_setTrackContainmentChanges(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_setTrackContainmentChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_View, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTrackContainmentChanges(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_View, sipName_setTrackContainmentChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_trackContainmentChanges(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_trackContainmentChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->trackContainmentChanges();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_trackContainmentChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_topLevelViewAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_topLevelViewAt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPoint, &a0))
        {
            Plasma::View*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::View::topLevelViewAt(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_View,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_topLevelViewAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_id(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->id();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_setContainment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_setContainment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Containment* a0;
        Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_View, &sipCpp, sipType_Plasma_Containment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::View::setContainment(a0) : sipCpp->setContainment(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_View, sipName_setContainment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_config(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->config());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_View_configNeedsSaving(PyObject *, PyObject *);}
static PyObject *meth_Plasma_View_configNeedsSaving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::View *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_View, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->configNeedsSaving();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_View, sipName_configNeedsSaving, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_View(void *, const sipTypeDef *);}
static void *cast_Plasma_View(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_View)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsView)->ctd_cast((QGraphicsView *)(Plasma::View *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_View(void *, int);}
static void release_Plasma_View(void *sipCppV,int)
{
    Plasma::View *sipCpp = reinterpret_cast<Plasma::View *>(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_View(sipSimpleWrapper *);}
static void dealloc_Plasma_View(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_View *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_View(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_View(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_View(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_View *sipCpp = 0;

    {
        Plasma::Containment* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_Plasma_Containment, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_View(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Plasma::Containment* a0;
        int a1;
        QWidget* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8i|JH", sipType_Plasma_Containment, &a0, &a1, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_View(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_View[] = {{210, 2, 1}};


static PyMethodDef methods_Plasma_View[] = {
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_View_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configNeedsSaving), meth_Plasma_View_configNeedsSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containment), meth_Plasma_View_containment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_desktop), meth_Plasma_View_desktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_effectiveDesktop), meth_Plasma_View_effectiveDesktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_Plasma_View_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isWallpaperEnabled), meth_Plasma_View_isWallpaperEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screen), meth_Plasma_View_screen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainment), meth_Plasma_View_setContainment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScreen), meth_Plasma_View_setScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTrackContainmentChanges), meth_Plasma_View_setTrackContainmentChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWallpaperEnabled), meth_Plasma_View_setWallpaperEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapContainment), meth_Plasma_View_swapContainment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_topLevelViewAt), meth_Plasma_View_topLevelViewAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trackContainmentChanges), meth_Plasma_View_trackContainmentChanges, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_View[] = {
    {"lostContainment()", 0, 0, 0},
    {"sceneRectChanged()", 0, 0, 0},
    {"sceneRectAboutToChange()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_View = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__View,
        {0}
    },
    {
        sipNameNr_View,
        {1, 255, 0},
        15, methods_Plasma_View,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_View,
    0,
    init_type_Plasma_View,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_View,
    0,
    0,
    0,
    release_Plasma_View,
    cast_Plasma_View,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::View::staticMetaObject,
    0,
    signals_Plasma_View,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/tooltipmanager.sip"
#include <plasma/tooltipmanager.h>
#line 9423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 9442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/tooltipcontent.sip"
#include <plasma/tooltipcontent.h>
#line 9445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


extern "C" {static PyObject *meth_Plasma_ToolTipManager_self(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_self(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::ToolTipManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::ToolTipManager::self();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_ToolTipManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipManager, sipName_self, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_show(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_show(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->show(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_ToolTipManager, sipName_show, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_isVisible(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        const Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isVisible(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipManager, sipName_isVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_hide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_hide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->hide(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_ToolTipManager, sipName_hide, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_registerWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_registerWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerWidget(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_ToolTipManager, sipName_registerWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_unregisterWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_unregisterWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unregisterWidget(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_ToolTipManager, sipName_unregisterWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_setContent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_setContent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        const Plasma::ToolTipContent* a1;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0, sipType_Plasma_ToolTipContent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContent(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_ToolTipManager, sipName_setContent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_clearContent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_clearContent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearContent(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_ToolTipManager, sipName_clearContent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_setState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_setState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ToolTipManager::State a0;
        Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp, sipType_Plasma_ToolTipManager_State, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setState(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_ToolTipManager, sipName_setState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipManager_state(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipManager_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipManager, &sipCpp))
        {
            Plasma::ToolTipManager::State sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_ToolTipManager_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipManager, sipName_state, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ToolTipManager(void *, const sipTypeDef *);}
static void *cast_Plasma_ToolTipManager(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_ToolTipManager)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::ToolTipManager *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ToolTipManager(void *, int);}
static void release_Plasma_ToolTipManager(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ToolTipManager[] = {{141, 0, 1}};


static PyMethodDef methods_Plasma_ToolTipManager[] = {
    {SIP_MLNAME_CAST(sipName_clearContent), meth_Plasma_ToolTipManager_clearContent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hide), meth_Plasma_ToolTipManager_hide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_Plasma_ToolTipManager_isVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerWidget), meth_Plasma_ToolTipManager_registerWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_ToolTipManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContent), meth_Plasma_ToolTipManager_setContent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setState), meth_Plasma_ToolTipManager_setState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_show), meth_Plasma_ToolTipManager_show, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_state), meth_Plasma_ToolTipManager_state, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterWidget), meth_Plasma_ToolTipManager_unregisterWidget, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_ToolTipManager[] = {
    {sipName_Activated, static_cast<int>(Plasma::ToolTipManager::Activated), 134},
    {sipName_Deactivated, static_cast<int>(Plasma::ToolTipManager::Deactivated), 134},
    {sipName_Inhibited, static_cast<int>(Plasma::ToolTipManager::Inhibited), 134},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_ToolTipManager[] = {
    {"linkActivated(QString,Qt::MouseButtons,Qt::KeyboardModifiers,QPoint)", 0, 0, 0},
    {"windowPreviewActivated(WId,Qt::MouseButtons,Qt::KeyboardModifiers,QPoint)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ToolTipManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ToolTipManager,
        {0}
    },
    {
        sipNameNr_ToolTipManager,
        {1, 255, 0},
        10, methods_Plasma_ToolTipManager,
        3, enummembers_Plasma_ToolTipManager,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ToolTipManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_ToolTipManager,
    cast_Plasma_ToolTipManager,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ToolTipManager::staticMetaObject,
    0,
    signals_Plasma_ToolTipManager,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/tooltipcontent.sip"
#include <plasma/tooltipcontent.h>
#line 9861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 9868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 9874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 68 "/usr/share/python-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 9877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 107 "/usr/share/python-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 9880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kwindowsystem.sip"
#include <qlist.h>
#line 9886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


extern "C" {static PyObject *meth_Plasma_ToolTipContent_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_isEmpty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setMainText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setMainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMainText(*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_ToolTipContent, sipName_setMainText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_mainText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_mainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mainText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_mainText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setSubText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setSubText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSubText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_setSubText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_subText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_subText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->subText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_subText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QIcon* a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*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_ToolTipContent, sipName_setImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_image(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->image());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_image, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setWindowToPreview(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setWindowToPreview(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWindowToPreview(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_ToolTipContent, sipName_setWindowToPreview, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_windowToPreview(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_windowToPreview(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            WId sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->windowToPreview();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_windowToPreview, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setWindowsToPreview(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setWindowsToPreview(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<WId>* a0;
        int a0State = 0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QList_2100,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWindowsToPreview(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<WId> *>(a0),sipType_QList_2100,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_setWindowsToPreview, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_windowsToPreview(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_windowsToPreview(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            QList<WId>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<WId>(sipCpp->windowsToPreview());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_2100,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_windowsToPreview, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setAutohide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setAutohide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ToolTipContent, &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_ToolTipContent, sipName_setAutohide, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_autohide(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_autohide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &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_ToolTipContent, sipName_autohide, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_addResource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_addResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ToolTipContent::ResourceType a0;
        const QUrl* a1;
        const QVariant* a2;
        int a2State = 0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9J1", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_Plasma_ToolTipContent_ResourceType, &a0, sipType_QUrl, &a1, sipType_QVariant,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addResource(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_addResource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_registerResources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_registerResources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextDocument* a0;
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QTextDocument, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerResources(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_ToolTipContent, sipName_registerResources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setClickable(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setClickable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClickable(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_ToolTipContent, sipName_setClickable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_isClickable(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_isClickable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isClickable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_isClickable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setHighlightWindows(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setHighlightWindows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHighlightWindows(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_ToolTipContent, sipName_setHighlightWindows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_highlightWindows(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_highlightWindows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->highlightWindows();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_highlightWindows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setGraphicsWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setGraphicsWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGraphicsWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_setGraphicsWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_graphicsWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_graphicsWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            QGraphicsWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->graphicsWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_graphicsWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_setInstantPopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_setInstantPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInstantPopup(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_ToolTipContent, sipName_setInstantPopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolTipContent_isInstantPopup(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolTipContent_isInstantPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ToolTipContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ToolTipContent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInstantPopup();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ToolTipContent, sipName_isInstantPopup, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ToolTipContent(void *, const sipTypeDef *);}
static void *cast_Plasma_ToolTipContent(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_ToolTipContent)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ToolTipContent(void *, int);}
static void release_Plasma_ToolTipContent(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::ToolTipContent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_ToolTipContent(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_ToolTipContent(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::ToolTipContent *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::ToolTipContent *>(sipSrc);
}


extern "C" {static void *array_Plasma_ToolTipContent(SIP_SSIZE_T);}
static void *array_Plasma_ToolTipContent(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::ToolTipContent[sipNrElem];
}


extern "C" {static void *copy_Plasma_ToolTipContent(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_ToolTipContent(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::ToolTipContent(reinterpret_cast<const Plasma::ToolTipContent *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_ToolTipContent(sipSimpleWrapper *);}
static void dealloc_Plasma_ToolTipContent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ToolTipContent(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_Plasma_ToolTipContent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ToolTipContent(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::ToolTipContent *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ToolTipContent();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const Plasma::ToolTipContent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Plasma_ToolTipContent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ToolTipContent(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QPixmap& a2def = QPixmap();
        const QPixmap* a2 = &a2def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ToolTipContent(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QIcon* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QIcon, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ToolTipContent(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_ToolTipContent[] = {
    {SIP_MLNAME_CAST(sipName_addResource), meth_Plasma_ToolTipContent_addResource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autohide), meth_Plasma_ToolTipContent_autohide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicsWidget), meth_Plasma_ToolTipContent_graphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highlightWindows), meth_Plasma_ToolTipContent_highlightWindows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_ToolTipContent_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isClickable), meth_Plasma_ToolTipContent_isClickable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_Plasma_ToolTipContent_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInstantPopup), meth_Plasma_ToolTipContent_isInstantPopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainText), meth_Plasma_ToolTipContent_mainText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerResources), meth_Plasma_ToolTipContent_registerResources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutohide), meth_Plasma_ToolTipContent_setAutohide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClickable), meth_Plasma_ToolTipContent_setClickable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsWidget), meth_Plasma_ToolTipContent_setGraphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHighlightWindows), meth_Plasma_ToolTipContent_setHighlightWindows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_ToolTipContent_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInstantPopup), meth_Plasma_ToolTipContent_setInstantPopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMainText), meth_Plasma_ToolTipContent_setMainText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSubText), meth_Plasma_ToolTipContent_setSubText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWindowToPreview), meth_Plasma_ToolTipContent_setWindowToPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWindowsToPreview), meth_Plasma_ToolTipContent_setWindowsToPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subText), meth_Plasma_ToolTipContent_subText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowToPreview), meth_Plasma_ToolTipContent_windowToPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowsToPreview), meth_Plasma_ToolTipContent_windowsToPreview, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_ToolTipContent[] = {
    {sipName_CssResource, static_cast<int>(Plasma::ToolTipContent::CssResource), 132},
    {sipName_HtmlResource, static_cast<int>(Plasma::ToolTipContent::HtmlResource), 132},
    {sipName_ImageResource, static_cast<int>(Plasma::ToolTipContent::ImageResource), 132},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ToolTipContent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__ToolTipContent,
        {0}
    },
    {
        sipNameNr_ToolTipContent,
        {1, 255, 0},
        23, methods_Plasma_ToolTipContent,
        3, enummembers_Plasma_ToolTipContent,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_Plasma_ToolTipContent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ToolTipContent,
    assign_Plasma_ToolTipContent,
    array_Plasma_ToolTipContent,
    copy_Plasma_ToolTipContent,
    release_Plasma_ToolTipContent,
    cast_Plasma_ToolTipContent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 10749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 10768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 10777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 10780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 10789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 10792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 10795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_Theme : public Plasma::Theme
{
public:
    sipPlasma_Theme(QObject*);
    sipPlasma_Theme(const QString&,QObject*);
    virtual ~sipPlasma_Theme();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Theme(const sipPlasma_Theme &);
    sipPlasma_Theme &operator = (const sipPlasma_Theme &);

    char sipPyMethods[7];
};

sipPlasma_Theme::sipPlasma_Theme(QObject*a0): Plasma::Theme(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Theme::sipPlasma_Theme(const QString& a0,QObject*a1): Plasma::Theme(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Theme::~sipPlasma_Theme()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Theme::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Theme);
}

int sipPlasma_Theme::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Theme::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Theme,_c,_id,_a);

    return _id;
}

void *sipPlasma_Theme::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Theme, _clname)) ? this : Plasma::Theme::qt_metacast(_clname);
}

void sipPlasma_Theme::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Theme::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Theme::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Theme::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Theme::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Theme::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Theme::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Theme::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Theme::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Theme::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Theme::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Theme::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Theme::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Theme::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_Theme_defaultTheme(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_defaultTheme(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::Theme*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Theme::defaultTheme();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Theme,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_defaultTheme, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_packageStructure(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_packageStructure(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::PackageStructure::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageStructure::Ptr(Plasma::Theme::packageStructure());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KSharedPtr_0100Plasma_PackageStructure,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_packageStructure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_listThemeInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_listThemeInfo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Theme::listThemeInfo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_listThemeInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_setThemeName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_setThemeName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setThemeName(*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_Theme, sipName_setThemeName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_themeName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_themeName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->themeName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_themeName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_imagePath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_imagePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->imagePath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_imagePath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_wallpaperPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_wallpaperPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize& a0def = QSize();
        const QSize* a0 = &a0def;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QSize, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->wallpaperPath(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_wallpaperPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_currentThemeHasImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_currentThemeHasImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentThemeHasImage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_currentThemeHasImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_colorScheme(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_colorScheme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            KSharedConfigPtr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KSharedConfigPtr(sipCpp->colorScheme());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KSharedConfigPtr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_colorScheme, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_color(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Theme::ColorRole a0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_Plasma_Theme_ColorRole, &a0))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->color(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_setFont(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        Plasma::Theme::FontRole a1 = Plasma::Theme::DefaultFont;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|E", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QFont, &a0, sipType_Plasma_Theme_FontRole, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFont(*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_Theme, sipName_setFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_font(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Theme::FontRole a0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_Plasma_Theme_FontRole, &a0))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->font(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_font, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_fontMetrics(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_fontMetrics(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            QFontMetrics*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFontMetrics(sipCpp->fontMetrics());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFontMetrics,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_fontMetrics, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_windowTranslucencyEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_windowTranslucencyEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->windowTranslucencyEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_windowTranslucencyEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_setUseGlobalSettings(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_setUseGlobalSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Theme, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUseGlobalSettings(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_Theme, sipName_setUseGlobalSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_useGlobalSettings(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_useGlobalSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useGlobalSettings();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_useGlobalSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_useNativeWidgetStyle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_useNativeWidgetStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useNativeWidgetStyle();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_useNativeWidgetStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_findInCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_findInCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPixmap* a1;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findInCache(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QPixmap* a1;
        uint a2;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9u", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findInCache(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_findInCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_insertIntoCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_insertIntoCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QPixmap* a1;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertIntoCache(*a0,*a1);
            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 QPixmap* a1;
        const QString* a2;
        int a2State = 0;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9J1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertIntoCache(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_insertIntoCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_setCacheLimit(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_setCacheLimit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Theme, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCacheLimit(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_Theme, sipName_setCacheLimit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_findInRectsCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_findInRectsCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QRectF* a2;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J9", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QRectF, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findInRectsCache(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_findInRectsCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_insertIntoRectsCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_insertIntoRectsCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QRectF* a2;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J9", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QRectF, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertIntoRectsCache(*a0,*a1,*a2);
            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_Theme, sipName_insertIntoRectsCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_invalidateRectsCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_invalidateRectsCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->invalidateRectsCache(*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_Theme, sipName_invalidateRectsCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_releaseRectsCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_releaseRectsCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->releaseRectsCache(*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_Theme, sipName_releaseRectsCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_settingsChanged(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_settingsChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->settingsChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_settingsChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_animationPath(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_animationPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->animationPath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_animationPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_styleSheet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_listCachedRectKeys(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_listCachedRectKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Theme, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->listCachedRectKeys(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_listCachedRectKeys, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_homepage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_homepage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->homepage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_homepage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Theme_toolTipDelay(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Theme_toolTipDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Theme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Theme, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolTipDelay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Theme, sipName_toolTipDelay, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Theme(void *, const sipTypeDef *);}
static void *cast_Plasma_Theme(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Theme)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::Theme *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Theme(void *, int);}
static void release_Plasma_Theme(void *sipCppV,int)
{
    Plasma::Theme *sipCpp = reinterpret_cast<Plasma::Theme *>(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_Theme(sipSimpleWrapper *);}
static void dealloc_Plasma_Theme(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Theme *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Theme(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_Theme(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Theme(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Theme *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Theme(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Theme(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Theme[] = {{141, 0, 1}};


static PyMethodDef methods_Plasma_Theme[] = {
    {SIP_MLNAME_CAST(sipName_animationPath), meth_Plasma_Theme_animationPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_Plasma_Theme_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_colorScheme), meth_Plasma_Theme_colorScheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentThemeHasImage), meth_Plasma_Theme_currentThemeHasImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultTheme), meth_Plasma_Theme_defaultTheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findInCache), meth_Plasma_Theme_findInCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findInRectsCache), meth_Plasma_Theme_findInRectsCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_Plasma_Theme_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontMetrics), meth_Plasma_Theme_fontMetrics, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_homepage), meth_Plasma_Theme_homepage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_imagePath), meth_Plasma_Theme_imagePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertIntoCache), meth_Plasma_Theme_insertIntoCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertIntoRectsCache), meth_Plasma_Theme_insertIntoRectsCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_invalidateRectsCache), meth_Plasma_Theme_invalidateRectsCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listCachedRectKeys), meth_Plasma_Theme_listCachedRectKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listThemeInfo), meth_Plasma_Theme_listThemeInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_packageStructure), meth_Plasma_Theme_packageStructure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseRectsCache), meth_Plasma_Theme_releaseRectsCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCacheLimit), meth_Plasma_Theme_setCacheLimit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_Plasma_Theme_setFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setThemeName), meth_Plasma_Theme_setThemeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUseGlobalSettings), meth_Plasma_Theme_setUseGlobalSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_settingsChanged), meth_Plasma_Theme_settingsChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_Theme_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_themeName), meth_Plasma_Theme_themeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTipDelay), meth_Plasma_Theme_toolTipDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useGlobalSettings), meth_Plasma_Theme_useGlobalSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useNativeWidgetStyle), meth_Plasma_Theme_useNativeWidgetStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wallpaperPath), meth_Plasma_Theme_wallpaperPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowTranslucencyEnabled), meth_Plasma_Theme_windowTranslucencyEnabled, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Theme[] = {
    {sipName_BackgroundColor, static_cast<int>(Plasma::Theme::BackgroundColor), 128},
    {sipName_ButtonBackgroundColor, static_cast<int>(Plasma::Theme::ButtonBackgroundColor), 128},
    {sipName_ButtonFocusColor, static_cast<int>(Plasma::Theme::ButtonFocusColor), 128},
    {sipName_ButtonHoverColor, static_cast<int>(Plasma::Theme::ButtonHoverColor), 128},
    {sipName_ButtonTextColor, static_cast<int>(Plasma::Theme::ButtonTextColor), 128},
    {sipName_DefaultFont, static_cast<int>(Plasma::Theme::DefaultFont), 129},
    {sipName_DesktopFont, static_cast<int>(Plasma::Theme::DesktopFont), 129},
    {sipName_HighlightColor, static_cast<int>(Plasma::Theme::HighlightColor), 128},
    {sipName_LinkColor, static_cast<int>(Plasma::Theme::LinkColor), 128},
    {sipName_SmallestFont, static_cast<int>(Plasma::Theme::SmallestFont), 129},
    {sipName_TextColor, static_cast<int>(Plasma::Theme::TextColor), 128},
    {sipName_ViewBackgroundColor, static_cast<int>(Plasma::Theme::ViewBackgroundColor), 128},
    {sipName_ViewFocusColor, static_cast<int>(Plasma::Theme::ViewFocusColor), 128},
    {sipName_ViewHoverColor, static_cast<int>(Plasma::Theme::ViewHoverColor), 128},
    {sipName_ViewTextColor, static_cast<int>(Plasma::Theme::ViewTextColor), 128},
    {sipName_VisitedLinkColor, static_cast<int>(Plasma::Theme::VisitedLinkColor), 128},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Theme[] = {
    {"themeChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Theme = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Theme,
        {0}
    },
    {
        sipNameNr_Theme,
        {1, 255, 0},
        30, methods_Plasma_Theme,
        16, enummembers_Plasma_Theme,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Theme,
    0,
    init_type_Plasma_Theme,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Theme,
    0,
    0,
    0,
    release_Plasma_Theme,
    cast_Plasma_Theme,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Theme::staticMetaObject,
    0,
    signals_Plasma_Theme,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/servicejob.sip"
#include <plasma/servicejob.h>
#line 12119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 12126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 12150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_ServiceJob : public Plasma::ServiceJob
{
public:
    sipPlasma_ServiceJob(const QString&,const QString&,const QMap<QString,QVariant>&,QObject*);
    virtual ~sipPlasma_ServiceJob();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QString errorString() const;
    bool doResume();
    bool doSuspend();
    bool doKill();
    void start();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_ServiceJob(const sipPlasma_ServiceJob &);
    sipPlasma_ServiceJob &operator = (const sipPlasma_ServiceJob &);

    char sipPyMethods[12];
};

sipPlasma_ServiceJob::sipPlasma_ServiceJob(const QString& a0,const QString& a1,const QMap<QString,QVariant>& a2,QObject*a3): Plasma::ServiceJob(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ServiceJob::~sipPlasma_ServiceJob()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_ServiceJob::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ServiceJob);
}

int sipPlasma_ServiceJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::ServiceJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_ServiceJob,_c,_id,_a);

    return _id;
}

void *sipPlasma_ServiceJob::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ServiceJob, _clname)) ? this : Plasma::ServiceJob::qt_metacast(_clname);
}

void sipPlasma_ServiceJob::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::ServiceJob::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceJob::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::ServiceJob::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceJob::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::ServiceJob::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceJob::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::ServiceJob::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceJob::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::ServiceJob::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ServiceJob::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::ServiceJob::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ServiceJob::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::ServiceJob::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipPlasma_ServiceJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_errorString);

    if (!sipMeth)
        return Plasma::ServiceJob::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ServiceJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_doResume);

    if (!sipMeth)
        return Plasma::ServiceJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ServiceJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_doSuspend);

    if (!sipMeth)
        return Plasma::ServiceJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ServiceJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_doKill);

    if (!sipMeth)
        return Plasma::ServiceJob::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ServiceJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_start);

    if (!sipMeth)
    {
        Plasma::ServiceJob::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_Plasma_ServiceJob_destination(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceJob_destination(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ServiceJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ServiceJob, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->destination());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceJob, sipName_destination, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ServiceJob_operationName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceJob_operationName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ServiceJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ServiceJob, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->operationName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceJob, sipName_operationName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ServiceJob_parameters(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceJob_parameters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ServiceJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ServiceJob, &sipCpp))
        {
            QMap<QString,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QVariant>(sipCpp->parameters());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceJob, sipName_parameters, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ServiceJob_result(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceJob_result(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ServiceJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ServiceJob, &sipCpp))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->result());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceJob, sipName_result, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ServiceJob_start(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceJob_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ServiceJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ServiceJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ServiceJob::start() : sipCpp->start());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceJob, sipName_start, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ServiceJob_setResult(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceJob_setResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVariant* a0;
        int a0State = 0;
        Plasma::ServiceJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_ServiceJob, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResult(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceJob, sipName_setResult, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ServiceJob(void *, const sipTypeDef *);}
static void *cast_Plasma_ServiceJob(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_ServiceJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KJob)->ctd_cast((KJob *)(Plasma::ServiceJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ServiceJob(void *, int);}
static void release_Plasma_ServiceJob(void *sipCppV,int)
{
    Plasma::ServiceJob *sipCpp = reinterpret_cast<Plasma::ServiceJob *>(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_ServiceJob(sipSimpleWrapper *);}
static void dealloc_Plasma_ServiceJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ServiceJob *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ServiceJob(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_ServiceJob(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ServiceJob(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_ServiceJob *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QMap<QString,QVariant>* a2;
        int a2State = 0;
        QObject* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|JH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QMap_0100QString_0100QVariant,&a2, &a2State, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ServiceJob(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QMap<QString,QVariant> *>(a2),sipType_QMap_0100QString_0100QVariant,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ServiceJob[] = {{89, 3, 1}};


static PyMethodDef methods_Plasma_ServiceJob[] = {
    {SIP_MLNAME_CAST(sipName_destination), meth_Plasma_ServiceJob_destination, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationName), meth_Plasma_ServiceJob_operationName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parameters), meth_Plasma_ServiceJob_parameters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_result), meth_Plasma_ServiceJob_result, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setResult), meth_Plasma_ServiceJob_setResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_Plasma_ServiceJob_start, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ServiceJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ServiceJob,
        {0}
    },
    {
        sipNameNr_ServiceJob,
        {1, 255, 0},
        6, methods_Plasma_ServiceJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ServiceJob,
    0,
    init_type_Plasma_ServiceJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ServiceJob,
    0,
    0,
    0,
    release_Plasma_ServiceJob,
    cast_Plasma_ServiceJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ServiceJob::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/serviceaccessjob.sip"
#include <plasma/serviceaccessjob.h>
#line 12762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 12772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 12790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_ServiceAccessJob : public Plasma::ServiceAccessJob
{
public:
    sipPlasma_ServiceAccessJob(KUrl,QObject*);
    virtual ~sipPlasma_ServiceAccessJob();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QString errorString() const;
    bool doResume();
    bool doSuspend();
    bool doKill();
    void start();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_ServiceAccessJob(const sipPlasma_ServiceAccessJob &);
    sipPlasma_ServiceAccessJob &operator = (const sipPlasma_ServiceAccessJob &);

    char sipPyMethods[12];
};

sipPlasma_ServiceAccessJob::sipPlasma_ServiceAccessJob(KUrl a0,QObject*a1): Plasma::ServiceAccessJob(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ServiceAccessJob::~sipPlasma_ServiceAccessJob()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_ServiceAccessJob::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ServiceAccessJob);
}

int sipPlasma_ServiceAccessJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::ServiceAccessJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_ServiceAccessJob,_c,_id,_a);

    return _id;
}

void *sipPlasma_ServiceAccessJob::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ServiceAccessJob, _clname)) ? this : Plasma::ServiceAccessJob::qt_metacast(_clname);
}

void sipPlasma_ServiceAccessJob::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::ServiceAccessJob::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceAccessJob::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::ServiceAccessJob::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceAccessJob::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::ServiceAccessJob::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceAccessJob::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::ServiceAccessJob::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ServiceAccessJob::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::ServiceAccessJob::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ServiceAccessJob::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::ServiceAccessJob::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ServiceAccessJob::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::ServiceAccessJob::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipPlasma_ServiceAccessJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_errorString);

    if (!sipMeth)
        return Plasma::ServiceAccessJob::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ServiceAccessJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_doResume);

    if (!sipMeth)
        return Plasma::ServiceAccessJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ServiceAccessJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_doSuspend);

    if (!sipMeth)
        return Plasma::ServiceAccessJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ServiceAccessJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_doKill);

    if (!sipMeth)
        return Plasma::ServiceAccessJob::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ServiceAccessJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_start);

    if (!sipMeth)
    {
        Plasma::ServiceAccessJob::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_Plasma_ServiceAccessJob_service(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceAccessJob_service(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::ServiceAccessJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ServiceAccessJob, &sipCpp))
        {
            Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->service();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceAccessJob, sipName_service, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ServiceAccessJob_start(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ServiceAccessJob_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ServiceAccessJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_ServiceAccessJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ServiceAccessJob::start() : sipCpp->start());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ServiceAccessJob, sipName_start, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ServiceAccessJob(void *, const sipTypeDef *);}
static void *cast_Plasma_ServiceAccessJob(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_ServiceAccessJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KJob)->ctd_cast((KJob *)(Plasma::ServiceAccessJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ServiceAccessJob(void *, int);}
static void release_Plasma_ServiceAccessJob(void *sipCppV,int)
{
    Plasma::ServiceAccessJob *sipCpp = reinterpret_cast<Plasma::ServiceAccessJob *>(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_ServiceAccessJob(sipSimpleWrapper *);}
static void dealloc_Plasma_ServiceAccessJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ServiceAccessJob *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ServiceAccessJob(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_ServiceAccessJob(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ServiceAccessJob(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_ServiceAccessJob *sipCpp = 0;

    {
        KUrl* a0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_KUrl, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ServiceAccessJob(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ServiceAccessJob[] = {{89, 3, 1}};


static PyMethodDef methods_Plasma_ServiceAccessJob[] = {
    {SIP_MLNAME_CAST(sipName_service), meth_Plasma_ServiceAccessJob_service, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_Plasma_ServiceAccessJob_start, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ServiceAccessJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ServiceAccessJob,
        {0}
    },
    {
        sipNameNr_ServiceAccessJob,
        {1, 255, 0},
        2, methods_Plasma_ServiceAccessJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ServiceAccessJob,
    0,
    init_type_Plasma_ServiceAccessJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ServiceAccessJob,
    0,
    0,
    0,
    release_Plasma_ServiceAccessJob,
    cast_Plasma_ServiceAccessJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ServiceAccessJob::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 13283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 13299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 13308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 13314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/servicejob.sip"
#include <plasma/servicejob.h>
#line 13317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 13323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_Service : public Plasma::Service
{
public:
    sipPlasma_Service(QObject*);
    sipPlasma_Service(QObject*,const QVariantList&);
    virtual ~sipPlasma_Service();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void registerOperationsScheme();
    Plasma::ServiceJob* createJob(const QString&,QMap<QString,QVariant>&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Service(const sipPlasma_Service &);
    sipPlasma_Service &operator = (const sipPlasma_Service &);

    char sipPyMethods[9];
};

sipPlasma_Service::sipPlasma_Service(QObject*a0): Plasma::Service(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Service::sipPlasma_Service(QObject*a0,const QVariantList& a1): Plasma::Service(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Service::~sipPlasma_Service()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Service::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Service);
}

int sipPlasma_Service::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Service::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Service,_c,_id,_a);

    return _id;
}

void *sipPlasma_Service::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Service, _clname)) ? this : Plasma::Service::qt_metacast(_clname);
}

void sipPlasma_Service::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Service::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Service::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Service::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Service::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Service::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Service::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Service::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Service::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Service::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Service::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Service::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Service::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Service::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Service::registerOperationsScheme()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_registerOperationsScheme);

    if (!sipMeth)
    {
        Plasma::Service::registerOperationsScheme();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

Plasma::ServiceJob* sipPlasma_Service::createJob(const QString& a0,QMap<QString,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_Service,sipName_createJob);

    if (!sipMeth)
        return 0;

    extern Plasma::ServiceJob* sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QMap<QString,QVariant>&);

    return sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_Plasma_Service_load(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_load(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J:", sipType_QString,&a0, &a0State, sipType_QObject, &a1))
        {
            Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Service::load(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_Service,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QVariantList* a1;
        int a1State = 0;
        QObject* a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J:", sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_QObject, &a2))
        {
            Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Service::load(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_setDestination(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_setDestination(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDestination(*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_Service, sipName_setDestination, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_destination(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_destination(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Service, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->destination());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_destination, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_operationNames(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_operationNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Service, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->operationNames());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_operationNames, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_operationDescription(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_operationDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->operationDescription(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_operationDescription, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_startOperationCall(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_startOperationCall(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        QObject* a1 = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J:", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_KConfigGroup, &a0, sipType_QObject, &a1))
        {
            Plasma::ServiceJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startOperationCall(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_ServiceJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_startOperationCall, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_isOperationEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_isOperationEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOperationEnabled(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_isOperationEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Service, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_associateWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_associateWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->associateWidget(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QGraphicsWidget* a0;
        const QString* a1;
        int a1State = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QGraphicsWidget, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->associateWidget(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_Service, sipName_associateWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_disassociateWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_disassociateWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->disassociateWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QGraphicsWidget* a0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->disassociateWidget(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_Service, sipName_disassociateWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_createJob(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_createJob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QString* a0;
        int a0State = 0;
        QMap<QString,QVariant>* a1;
        int a1State = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QString,&a0, &a0State, sipType_QMap_0100QString_0100QVariant,&a1, &a1State))
        {
            Plasma::ServiceJob*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_Service, sipName_createJob);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createJob(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QMap_0100QString_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_ServiceJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_createJob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_registerOperationsScheme(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_registerOperationsScheme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_Service, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Service::registerOperationsScheme() : sipCpp->registerOperationsScheme());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_registerOperationsScheme, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_setOperationsScheme(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_setOperationsScheme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QIODevice* a0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOperationsScheme(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_Service, sipName_setOperationsScheme, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_setName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_setOperationEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_setOperationEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1b", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOperationEnabled(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_setOperationEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_access(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_access(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        QObject* a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J:", sipType_KUrl, &a0, sipType_QObject, &a1))
        {
            Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Service::access(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_access, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Service_parametersFromDescription(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Service_parametersFromDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        Plasma::Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Service, &sipCpp, sipType_KConfigGroup, &a0))
        {
            QMap<QString,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QVariant>(sipCpp->parametersFromDescription(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Service, sipName_parametersFromDescription, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Service(void *, const sipTypeDef *);}
static void *cast_Plasma_Service(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Service)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::Service *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Service(void *, int);}
static void release_Plasma_Service(void *sipCppV,int)
{
    Plasma::Service *sipCpp = reinterpret_cast<Plasma::Service *>(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_Service(sipSimpleWrapper *);}
static void dealloc_Plasma_Service(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Service *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Service(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_Service(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Service(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Service *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Service(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;
        const QVariantList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Service(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Service[] = {{141, 0, 1}};


static PyMethodDef methods_Plasma_Service[] = {
    {SIP_MLNAME_CAST(sipName_access), meth_Plasma_Service_access, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associateWidget), meth_Plasma_Service_associateWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createJob), meth_Plasma_Service_createJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destination), meth_Plasma_Service_destination, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disassociateWidget), meth_Plasma_Service_disassociateWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isOperationEnabled), meth_Plasma_Service_isOperationEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Plasma_Service_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_Service_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationDescription), meth_Plasma_Service_operationDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationNames), meth_Plasma_Service_operationNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parametersFromDescription), meth_Plasma_Service_parametersFromDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerOperationsScheme), meth_Plasma_Service_registerOperationsScheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDestination), meth_Plasma_Service_setDestination, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_Plasma_Service_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationEnabled), meth_Plasma_Service_setOperationEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationsScheme), meth_Plasma_Service_setOperationsScheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startOperationCall), meth_Plasma_Service_startOperationCall, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Service[] = {
    {"serviceReady(Plasma::Service*)", 0, 0, 0},
    {"operationsChanged()", 0, 0, 0},
    {"finished(Plasma::ServiceJob*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Service = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Service,
        {0}
    },
    {
        sipNameNr_Service,
        {1, 255, 0},
        17, methods_Plasma_Service,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Service,
    0,
    init_type_Plasma_Service,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Service,
    0,
    0,
    0,
    release_Plasma_Service,
    cast_Plasma_Service,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Service::staticMetaObject,
    0,
    signals_Plasma_Service,
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/wallpaperscript.sip"
#include <plasma/scripting/wallpaperscript.h>
#line 14310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 14320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 14326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 168 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 14335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/wallpaper.sip"
#include <plasma/wallpaper.h>
#line 14344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 14347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 112 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 14353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 14356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 83 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 53 "/usr/share/python-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 14368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14389 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14392 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14395 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14398 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14401 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14404 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_WallpaperScript : public Plasma::WallpaperScript
{
public:
    sipPlasma_WallpaperScript(QObject*);
    virtual ~sipPlasma_WallpaperScript();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    const Plasma::Package* package() const;
    QString mainScript() const;
    bool init();
    void urlDropped(const KUrl&);
    void renderCompleted(const QImage&);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    QWidget* createConfigurationInterface(QWidget*);
    void save(KConfigGroup&);
    void paint(QPainter*,const QRectF&);
    void initWallpaper(const KConfigGroup&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_WallpaperScript(const sipPlasma_WallpaperScript &);
    sipPlasma_WallpaperScript &operator = (const sipPlasma_WallpaperScript &);

    char sipPyMethods[20];
};

sipPlasma_WallpaperScript::sipPlasma_WallpaperScript(QObject*a0): Plasma::WallpaperScript(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_WallpaperScript::~sipPlasma_WallpaperScript()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_WallpaperScript::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_WallpaperScript);
}

int sipPlasma_WallpaperScript::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::WallpaperScript::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_WallpaperScript,_c,_id,_a);

    return _id;
}

void *sipPlasma_WallpaperScript::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_WallpaperScript, _clname)) ? this : Plasma::WallpaperScript::qt_metacast(_clname);
}

void sipPlasma_WallpaperScript::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_WallpaperScript::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::WallpaperScript::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_WallpaperScript::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::WallpaperScript::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

const Plasma::Package* sipPlasma_WallpaperScript::package() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_package);

    if (!sipMeth)
        return Plasma::WallpaperScript::package();

    extern const Plasma::Package* sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipPlasma_WallpaperScript::mainScript() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_mainScript);

    if (!sipMeth)
        return Plasma::WallpaperScript::mainScript();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_WallpaperScript::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
        return Plasma::WallpaperScript::init();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_WallpaperScript::urlDropped(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_urlDropped);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::urlDropped(a0);
        return;
    }

    typedef void (*sipVH_kdecore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_45)(sipModuleAPI_plasma_kdecore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::renderCompleted(const QImage& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_renderCompleted);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::renderCompleted(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QImage&);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipPlasma_WallpaperScript::createConfigurationInterface(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
        return Plasma::WallpaperScript::createConfigurationInterface(a0);

    typedef QWidget* (*sipVH_kdeui_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_kdeui_42)(sipModuleAPI_plasma_kdeui->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::save(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_WallpaperScript::paint(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::paint(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_WallpaperScript::initWallpaper(const KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_initWallpaper);

    if (!sipMeth)
    {
        Plasma::WallpaperScript::initWallpaper(a0);
        return;
    }

    typedef void (*sipVH_kdeui_65)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KConfigGroup&);

    ((sipVH_kdeui_65)(sipModuleAPI_plasma_kdeui->em_virthandlers[65]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setWallpaper(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setWallpaper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Wallpaper* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_Plasma_Wallpaper, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWallpaper(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_WallpaperScript, sipName_setWallpaper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_wallpaper(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_wallpaper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            Plasma::Wallpaper*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wallpaper();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Wallpaper,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_wallpaper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_initWallpaper(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_initWallpaper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfigGroup* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::initWallpaper(*a0) : sipCpp->initWallpaper(*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_WallpaperScript, sipName_initWallpaper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRectF* a1;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::paint(a0,*a1) : sipCpp->paint(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_WallpaperScript, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_save(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::save(*a0) : sipCpp->save(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_createConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_createConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QWidget, &a0))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::createConfigurationInterface(a0) : sipCpp->createConfigurationInterface(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_createConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::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_WallpaperScript, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::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_WallpaperScript, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::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_WallpaperScript, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::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_WallpaperScript, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_mainScript(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_mainScript(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::mainScript() : sipCpp->mainScript()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_mainScript, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_package(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            const Plasma::Package*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::package() : sipCpp->package());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_package, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_isInitialized(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_isInitialized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInitialized();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_isInitialized, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->boundingRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_boundingRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_dataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setResizeMethodHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setResizeMethodHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Wallpaper::ResizeMethod a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_Plasma_Wallpaper_ResizeMethod, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResizeMethodHint(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_WallpaperScript, sipName_setResizeMethodHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setTargetSizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setTargetSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetSizeHint(*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_WallpaperScript, sipName_setTargetSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb|J1", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_render(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_render(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QSize* a1;
        Plasma::Wallpaper::ResizeMethod a2 = Plasma::Wallpaper::ScaledResize;
        const QColor& a3def = QColor(0,0,0);
        const QColor* a3 = &a3def;
        int a3State = 0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9|EJ1", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1, sipType_Plasma_Wallpaper_ResizeMethod, &a2, sipType_QColor, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->render(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QColor *>(a3),sipType_QColor,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_render, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setUsingRenderingCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setUsingRenderingCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUsingRenderingCache(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_setUsingRenderingCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_findInCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_findInCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QImage* a1;
        uint a2 = 0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9|u", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QImage, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findInCache(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_findInCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_insertIntoCache(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_insertIntoCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QImage* a1;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QImage, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertIntoCache(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_insertIntoCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setContextualActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setContextualActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QAction*>* a0;
        int a0State = 0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QList_0101QAction,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextualActions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QAction*> *>(a0),sipType_QList_0101QAction,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_setContextualActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_update(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QRectF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->update(*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_WallpaperScript, sipName_update, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_configNeedsSaving(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_configNeedsSaving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->configNeedsSaving();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_configNeedsSaving, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_renderCompleted(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_renderCompleted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QImage* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_QImage, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::renderCompleted(*a0) : sipCpp->renderCompleted(*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_WallpaperScript, sipName_renderCompleted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_urlDropped(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_urlDropped(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WallpaperScript::urlDropped(*a0) : sipCpp->urlDropped(*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_WallpaperScript, sipName_urlDropped, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp))
        {
            KPluginInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WallpaperScript, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WallpaperScript_setUrls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WallpaperScript_setUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List* a0;
        Plasma::WallpaperScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_WallpaperScript, &sipCpp, sipType_KUrl_List, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrls(*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_WallpaperScript, sipName_setUrls, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_WallpaperScript(void *, const sipTypeDef *);}
static void *cast_Plasma_WallpaperScript(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_WallpaperScript)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_ScriptEngine)->ctd_cast((Plasma::ScriptEngine *)(Plasma::WallpaperScript *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_WallpaperScript(void *, int);}
static void release_Plasma_WallpaperScript(void *sipCppV,int)
{
    Plasma::WallpaperScript *sipCpp = reinterpret_cast<Plasma::WallpaperScript *>(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_WallpaperScript(sipSimpleWrapper *);}
static void dealloc_Plasma_WallpaperScript(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_WallpaperScript *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_WallpaperScript(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_WallpaperScript(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_WallpaperScript(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_WallpaperScript *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_WallpaperScript(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_WallpaperScript[] = {{112, 255, 1}};


static PyMethodDef methods_Plasma_WallpaperScript[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_Plasma_WallpaperScript_boundingRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configNeedsSaving), meth_Plasma_WallpaperScript_configNeedsSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createConfigurationInterface), meth_Plasma_WallpaperScript_createConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_WallpaperScript_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_WallpaperScript_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findInCache), meth_Plasma_WallpaperScript_findInCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initWallpaper), meth_Plasma_WallpaperScript_initWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertIntoCache), meth_Plasma_WallpaperScript_insertIntoCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInitialized), meth_Plasma_WallpaperScript_isInitialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainScript), meth_Plasma_WallpaperScript_mainScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_WallpaperScript_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_WallpaperScript_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_WallpaperScript_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_WallpaperScript_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_WallpaperScript_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_render), meth_Plasma_WallpaperScript_render, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_renderCompleted), meth_Plasma_WallpaperScript_renderCompleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Plasma_WallpaperScript_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_WallpaperScript_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextualActions), meth_Plasma_WallpaperScript_setContextualActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setResizeMethodHint), meth_Plasma_WallpaperScript_setResizeMethodHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetSizeHint), meth_Plasma_WallpaperScript_setTargetSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrls), meth_Plasma_WallpaperScript_setUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsingRenderingCache), meth_Plasma_WallpaperScript_setUsingRenderingCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWallpaper), meth_Plasma_WallpaperScript_setWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_update), meth_Plasma_WallpaperScript_update, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urlDropped), meth_Plasma_WallpaperScript_urlDropped, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wallpaper), meth_Plasma_WallpaperScript_wallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_WallpaperScript_wheelEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_WallpaperScript = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__WallpaperScript,
        {0}
    },
    {
        sipNameNr_WallpaperScript,
        {1, 255, 0},
        29, methods_Plasma_WallpaperScript,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_WallpaperScript,
    0,
    init_type_Plasma_WallpaperScript,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_WallpaperScript,
    0,
    0,
    0,
    release_Plasma_WallpaperScript,
    cast_Plasma_WallpaperScript,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::WallpaperScript::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/runnerscript.sip"
#include <plasma/scripting/runnerscript.h>
#line 15809 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 15816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 15822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 15825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 15837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 15840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 15849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 15852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 15855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 15858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 15861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 15864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 15870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 15873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_RunnerScript : public Plasma::RunnerScript
{
public:
    sipPlasma_RunnerScript(QObject*);
    virtual ~sipPlasma_RunnerScript();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    const Plasma::Package* package() const;
    QString mainScript() const;
    bool init();
    void run(const Plasma::RunnerContext&,const Plasma::QueryMatch&);
    void match(Plasma::RunnerContext&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_RunnerScript(const sipPlasma_RunnerScript &);
    sipPlasma_RunnerScript &operator = (const sipPlasma_RunnerScript &);

    char sipPyMethods[12];
};

sipPlasma_RunnerScript::sipPlasma_RunnerScript(QObject*a0): Plasma::RunnerScript(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_RunnerScript::~sipPlasma_RunnerScript()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_RunnerScript::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_RunnerScript);
}

int sipPlasma_RunnerScript::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::RunnerScript::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_RunnerScript,_c,_id,_a);

    return _id;
}

void *sipPlasma_RunnerScript::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_RunnerScript, _clname)) ? this : Plasma::RunnerScript::qt_metacast(_clname);
}

void sipPlasma_RunnerScript::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::RunnerScript::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RunnerScript::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::RunnerScript::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RunnerScript::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::RunnerScript::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RunnerScript::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::RunnerScript::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_RunnerScript::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::RunnerScript::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_RunnerScript::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::RunnerScript::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_RunnerScript::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::RunnerScript::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

const Plasma::Package* sipPlasma_RunnerScript::package() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_package);

    if (!sipMeth)
        return Plasma::RunnerScript::package();

    extern const Plasma::Package* sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipPlasma_RunnerScript::mainScript() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_mainScript);

    if (!sipMeth)
        return Plasma::RunnerScript::mainScript();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_RunnerScript::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
        return Plasma::RunnerScript::init();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_RunnerScript::run(const Plasma::RunnerContext& a0,const Plasma::QueryMatch& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_run);

    if (!sipMeth)
    {
        Plasma::RunnerScript::run(a0,a1);
        return;
    }

    extern void sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const Plasma::RunnerContext&,const Plasma::QueryMatch&);

    sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_RunnerScript::match(Plasma::RunnerContext& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_match);

    if (!sipMeth)
    {
        Plasma::RunnerScript::match(a0);
        return;
    }

    extern void sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::RunnerContext&);

    sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_setRunner(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_setRunner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AbstractRunner* a0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_AbstractRunner, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRunner(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_RunnerScript, sipName_setRunner, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_runner(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_runner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            Plasma::AbstractRunner*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->runner();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_AbstractRunner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_runner, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_match(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_match(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::RunnerContext* a0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_RunnerContext, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::RunnerScript::match(*a0) : sipCpp->match(*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_RunnerScript, sipName_match, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_run(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_run(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::RunnerContext* a0;
        const Plasma::QueryMatch* a1;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_RunnerContext, &a0, sipType_Plasma_QueryMatch, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::RunnerScript::run(*a0,*a1) : sipCpp->run(*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_RunnerScript, sipName_run, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_mainScript(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_mainScript(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->Plasma::RunnerScript::mainScript() : sipCpp->mainScript()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_mainScript, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_package(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            const Plasma::Package*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::RunnerScript::package() : sipCpp->package());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_package, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_config(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->config());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_setIgnoredTypes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_setIgnoredTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::RunnerContext::Types* a0;
        int a0State = 0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIgnoredTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_setIgnoredTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_setHasRunOptions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_setHasRunOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHasRunOptions(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_RunnerScript, sipName_setHasRunOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_setSpeed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_setSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AbstractRunner::Speed a0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_AbstractRunner_Speed, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpeed(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_RunnerScript, sipName_setSpeed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_setPriority(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_setPriority(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AbstractRunner::Priority a0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_AbstractRunner_Priority, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPriority(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_RunnerScript, sipName_setPriority, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_serviceQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_serviceQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1|J1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KService::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KService::List(sipCpp->serviceQuery(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100KService_Ptr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_serviceQuery, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_addAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QIcon* a1;
        const QString* a2;
        int a2State = 0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9J1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QIcon, &a1, sipType_QString,&a2, &a2State))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QAction* a1;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J8", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_removeAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAction(*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_RunnerScript, sipName_removeAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_action, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_actions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            QHash<QString,QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,QAction*>(sipCpp->actions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QHash_0100QString_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_actions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_clearActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_clearActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_clearActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_addSyntax(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_addSyntax(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RunnerSyntax* a0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_Plasma_RunnerSyntax, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSyntax(*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_RunnerScript, sipName_addSyntax, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_setSyntaxes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_setSyntaxes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<Plasma::RunnerSyntax>* a0;
        int a0State = 0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QList_0100Plasma_RunnerSyntax,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSyntaxes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Plasma::RunnerSyntax> *>(a0),sipType_QList_0100Plasma_RunnerSyntax,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_setSyntaxes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp))
        {
            KPluginInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_RunnerScript_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_RunnerScript_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::RunnerScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_RunnerScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_RunnerScript, sipName_dataEngine, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_RunnerScript(void *, const sipTypeDef *);}
static void *cast_Plasma_RunnerScript(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_RunnerScript)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_ScriptEngine)->ctd_cast((Plasma::ScriptEngine *)(Plasma::RunnerScript *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_RunnerScript(void *, int);}
static void release_Plasma_RunnerScript(void *sipCppV,int)
{
    Plasma::RunnerScript *sipCpp = reinterpret_cast<Plasma::RunnerScript *>(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_RunnerScript(sipSimpleWrapper *);}
static void dealloc_Plasma_RunnerScript(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_RunnerScript *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_RunnerScript(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_RunnerScript(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_RunnerScript(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_RunnerScript *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_RunnerScript(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_RunnerScript[] = {{112, 255, 1}};


static PyMethodDef methods_Plasma_RunnerScript[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_RunnerScript_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actions), meth_Plasma_RunnerScript_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_Plasma_RunnerScript_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSyntax), meth_Plasma_RunnerScript_addSyntax, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearActions), meth_Plasma_RunnerScript_clearActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_RunnerScript_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_RunnerScript_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_RunnerScript_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainScript), meth_Plasma_RunnerScript_mainScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_Plasma_RunnerScript_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_RunnerScript_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_Plasma_RunnerScript_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_Plasma_RunnerScript_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runner), meth_Plasma_RunnerScript_runner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serviceQuery), meth_Plasma_RunnerScript_serviceQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasRunOptions), meth_Plasma_RunnerScript_setHasRunOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIgnoredTypes), meth_Plasma_RunnerScript_setIgnoredTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPriority), meth_Plasma_RunnerScript_setPriority, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRunner), meth_Plasma_RunnerScript_setRunner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpeed), meth_Plasma_RunnerScript_setSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSyntaxes), meth_Plasma_RunnerScript_setSyntaxes, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_RunnerScript[] = {
    {"actionsForMatch(Plasma::QueryMatch,QList<QAction*>*)", 0, 0, 0},
    {"reloadConfiguration()", 0, 0, 0},
    {"createRunOptions(QWidget*)", 0, 0, 0},
    {"teardown()", 0, 0, 0},
    {"prepare()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_RunnerScript = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__RunnerScript,
        {0}
    },
    {
        sipNameNr_RunnerScript,
        {1, 255, 0},
        21, methods_Plasma_RunnerScript,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_RunnerScript,
    0,
    init_type_Plasma_RunnerScript,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_RunnerScript,
    0,
    0,
    0,
    release_Plasma_RunnerScript,
    cast_Plasma_RunnerScript,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::RunnerScript::staticMetaObject,
    0,
    signals_Plasma_RunnerScript,
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/dataenginescript.sip"
#include <plasma/scripting/dataenginescript.h>
#line 16959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 16966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 16972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 16978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 16984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 16990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 16993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 16999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_DataEngineScript : public Plasma::DataEngineScript
{
public:
    sipPlasma_DataEngineScript(QObject*);
    virtual ~sipPlasma_DataEngineScript();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    const Plasma::Package* package() const;
    QString mainScript() const;
    bool init();
    Plasma::Service* serviceForSource(const QString&);
    bool updateSourceEvent(const QString&);
    bool sourceRequestEvent(const QString&);
    QStringList sources() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_DataEngineScript(const sipPlasma_DataEngineScript &);
    sipPlasma_DataEngineScript &operator = (const sipPlasma_DataEngineScript &);

    char sipPyMethods[14];
};

sipPlasma_DataEngineScript::sipPlasma_DataEngineScript(QObject*a0): Plasma::DataEngineScript(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_DataEngineScript::~sipPlasma_DataEngineScript()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_DataEngineScript::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_DataEngineScript);
}

int sipPlasma_DataEngineScript::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::DataEngineScript::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_DataEngineScript,_c,_id,_a);

    return _id;
}

void *sipPlasma_DataEngineScript::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_DataEngineScript, _clname)) ? this : Plasma::DataEngineScript::qt_metacast(_clname);
}

void sipPlasma_DataEngineScript::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::DataEngineScript::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataEngineScript::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::DataEngineScript::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataEngineScript::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::DataEngineScript::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataEngineScript::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::DataEngineScript::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataEngineScript::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::DataEngineScript::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngineScript::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::DataEngineScript::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DataEngineScript::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::DataEngineScript::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

const Plasma::Package* sipPlasma_DataEngineScript::package() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_package);

    if (!sipMeth)
        return Plasma::DataEngineScript::package();

    extern const Plasma::Package* sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipPlasma_DataEngineScript::mainScript() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_mainScript);

    if (!sipMeth)
        return Plasma::DataEngineScript::mainScript();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_DataEngineScript::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
        return Plasma::DataEngineScript::init();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

Plasma::Service* sipPlasma_DataEngineScript::serviceForSource(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_serviceForSource);

    if (!sipMeth)
        return Plasma::DataEngineScript::serviceForSource(a0);

    extern Plasma::Service* sipVH_plasma_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_plasma_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngineScript::updateSourceEvent(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_updateSourceEvent);

    if (!sipMeth)
        return Plasma::DataEngineScript::updateSourceEvent(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_plasma_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngineScript::sourceRequestEvent(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sourceRequestEvent);

    if (!sipMeth)
        return Plasma::DataEngineScript::sourceRequestEvent(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_plasma_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipPlasma_DataEngineScript::sources() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sources);

    if (!sipMeth)
        return Plasma::DataEngineScript::sources();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_plasma_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setDataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setDataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DataEngine* a0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_Plasma_DataEngine, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDataEngine(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_DataEngineScript, sipName_setDataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataEngine();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_dataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_sources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_sources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->Plasma::DataEngineScript::sources() : sipCpp->sources()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_sources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_sourceRequestEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_sourceRequestEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::DataEngineScript::sourceRequestEvent(*a0) : sipCpp->sourceRequestEvent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_sourceRequestEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_updateSourceEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_updateSourceEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::DataEngineScript::updateSourceEvent(*a0) : sipCpp->updateSourceEvent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_updateSourceEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_serviceForSource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_serviceForSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::DataEngineScript::serviceForSource(*a0) : sipCpp->serviceForSource(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_serviceForSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_mainScript(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_mainScript(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->Plasma::DataEngineScript::mainScript() : sipCpp->mainScript()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_mainScript, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_package(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            const Plasma::Package*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::DataEngineScript::package() : sipCpp->package());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_package, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QVariant* a2;
        int a2State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1J1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QVariant* a1;
        int a1State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::DataEngine::Data* a1;
        int a1State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QHash_0100QString_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*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_DataEngineScript, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_removeAllData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_removeAllData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllData(*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_DataEngineScript, sipName_removeAllData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_removeData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_removeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeData(*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_DataEngineScript, sipName_removeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setMaxSourceCount(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setMaxSourceCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pu", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxSourceCount(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_DataEngineScript, sipName_setMaxSourceCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setMinimumPollingInterval(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setMinimumPollingInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumPollingInterval(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_DataEngineScript, sipName_setMinimumPollingInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_minimumPollingInterval(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_minimumPollingInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimumPollingInterval();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_minimumPollingInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setPollingInterval(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setPollingInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pu", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPollingInterval(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_DataEngineScript, sipName_setPollingInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_removeAllSources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_removeAllSources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllSources();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_removeAllSources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_addSource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_addSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DataContainer* a0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_Plasma_DataContainer, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSource(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_DataEngineScript, sipName_addSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_containerDict(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_containerDict(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            Plasma::DataEngine::SourceDict*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::DataEngine::SourceDict(sipCpp->containerDict());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QHash_0100QString_0101Plasma_DataContainer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_containerDict, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngineScript, &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_DataEngineScript, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_scheduleSourcesUpdated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_scheduleSourcesUpdated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scheduleSourcesUpdated();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_scheduleSourcesUpdated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_removeSource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_removeSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeSource(*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_DataEngineScript, sipName_removeSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_updateAllSources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_updateAllSources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateAllSources();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_updateAllSources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_forceImmediateUpdateOfAllVisualizations(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_forceImmediateUpdateOfAllVisualizations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->forceImmediateUpdateOfAllVisualizations();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_forceImmediateUpdateOfAllVisualizations, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngineScript_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngineScript_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::DataEngineScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngineScript, &sipCpp))
        {
            KPluginInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngineScript, sipName_description, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_DataEngineScript(void *, const sipTypeDef *);}
static void *cast_Plasma_DataEngineScript(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_DataEngineScript)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_ScriptEngine)->ctd_cast((Plasma::ScriptEngine *)(Plasma::DataEngineScript *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_DataEngineScript(void *, int);}
static void release_Plasma_DataEngineScript(void *sipCppV,int)
{
    Plasma::DataEngineScript *sipCpp = reinterpret_cast<Plasma::DataEngineScript *>(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_DataEngineScript(sipSimpleWrapper *);}
static void dealloc_Plasma_DataEngineScript(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_DataEngineScript *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_DataEngineScript(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_DataEngineScript(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_DataEngineScript(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_DataEngineScript *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_DataEngineScript(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_DataEngineScript[] = {{112, 255, 1}};


static PyMethodDef methods_Plasma_DataEngineScript[] = {
    {SIP_MLNAME_CAST(sipName_addSource), meth_Plasma_DataEngineScript_addSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containerDict), meth_Plasma_DataEngineScript_containerDict, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_DataEngineScript_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_DataEngineScript_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forceImmediateUpdateOfAllVisualizations), meth_Plasma_DataEngineScript_forceImmediateUpdateOfAllVisualizations, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainScript), meth_Plasma_DataEngineScript_mainScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumPollingInterval), meth_Plasma_DataEngineScript_minimumPollingInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_DataEngineScript_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllData), meth_Plasma_DataEngineScript_removeAllData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllSources), meth_Plasma_DataEngineScript_removeAllSources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeData), meth_Plasma_DataEngineScript_removeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSource), meth_Plasma_DataEngineScript_removeSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleSourcesUpdated), meth_Plasma_DataEngineScript_scheduleSourcesUpdated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serviceForSource), meth_Plasma_DataEngineScript_serviceForSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_Plasma_DataEngineScript_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDataEngine), meth_Plasma_DataEngineScript_setDataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_DataEngineScript_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxSourceCount), meth_Plasma_DataEngineScript_setMaxSourceCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumPollingInterval), meth_Plasma_DataEngineScript_setMinimumPollingInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_Plasma_DataEngineScript_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPollingInterval), meth_Plasma_DataEngineScript_setPollingInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceRequestEvent), meth_Plasma_DataEngineScript_sourceRequestEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sources), meth_Plasma_DataEngineScript_sources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateAllSources), meth_Plasma_DataEngineScript_updateAllSources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSourceEvent), meth_Plasma_DataEngineScript_updateSourceEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_DataEngineScript = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataEngineScript,
        {0}
    },
    {
        sipNameNr_DataEngineScript,
        {1, 255, 0},
        25, methods_Plasma_DataEngineScript,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_DataEngineScript,
    0,
    init_type_Plasma_DataEngineScript,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_DataEngineScript,
    0,
    0,
    0,
    release_Plasma_DataEngineScript,
    cast_Plasma_DataEngineScript,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::DataEngineScript::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/appletscript.sip"
#include <plasma/scripting/appletscript.h>
#line 18233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 18240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 18243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 18249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 18258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 18261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 18264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 18267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 18270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 18273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 18279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 112 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 1975 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 18291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 18294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/plasma/sipplasmapart3.cpp"


class sipPlasma_AppletScript : public Plasma::AppletScript
{
public:
    sipPlasma_AppletScript(QObject*);
    virtual ~sipPlasma_AppletScript();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    const Plasma::Package* package() const;
    QString mainScript() const;
    bool init();
    void configChanged();
    void showConfigurationInterface();
    QPainterPath shape() const;
    QList<QAction*> contextualActions();
    void constraintsEvent(Plasma::Constraints);
    void paintInterface(QPainter*,const QStyleOptionGraphicsItem*,const QRect&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_AppletScript(const sipPlasma_AppletScript &);
    sipPlasma_AppletScript &operator = (const sipPlasma_AppletScript &);

    char sipPyMethods[16];
};

sipPlasma_AppletScript::sipPlasma_AppletScript(QObject*a0): Plasma::AppletScript(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AppletScript::~sipPlasma_AppletScript()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AppletScript::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AppletScript);
}

int sipPlasma_AppletScript::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AppletScript::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AppletScript,_c,_id,_a);

    return _id;
}

void *sipPlasma_AppletScript::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_AppletScript, _clname)) ? this : Plasma::AppletScript::qt_metacast(_clname);
}

void sipPlasma_AppletScript::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::AppletScript::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AppletScript::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::AppletScript::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AppletScript::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::AppletScript::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AppletScript::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::AppletScript::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AppletScript::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::AppletScript::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_AppletScript::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::AppletScript::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_AppletScript::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::AppletScript::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

const Plasma::Package* sipPlasma_AppletScript::package() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_package);

    if (!sipMeth)
        return Plasma::AppletScript::package();

    extern const Plasma::Package* sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipPlasma_AppletScript::mainScript() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_mainScript);

    if (!sipMeth)
        return Plasma::AppletScript::mainScript();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_AppletScript::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
        return Plasma::AppletScript::init();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_AppletScript::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_configChanged);

    if (!sipMeth)
    {
        Plasma::AppletScript::configChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_AppletScript::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::AppletScript::showConfigurationInterface();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QPainterPath sipPlasma_AppletScript::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::AppletScript::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

QList<QAction*> sipPlasma_AppletScript::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::AppletScript::contextualActions();

    typedef QList<QAction*> (*sipVH_QtGui_168)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_AppletScript::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_constraintsEvent);

    if (!sipMeth)
    {
        Plasma::AppletScript::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Constraints);

    sipVH_plasma_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AppletScript::paintInterface(QPainter*a0,const QStyleOptionGraphicsItem*a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintInterface);

    if (!sipMeth)
    {
        Plasma::AppletScript::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,const QRect&);

    sipVH_plasma_8(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_Plasma_AppletScript_setApplet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_setApplet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet* a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_Plasma_Applet, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setApplet(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_AppletScript, sipName_setApplet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_applet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_applet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            Plasma::Applet*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->applet();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Applet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_applet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_paintInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_paintInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        const QRect* a2;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QRect, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AppletScript::paintInterface(a0,a1,*a2) : sipCpp->paintInterface(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_AppletScript, sipName_paintInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_size(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->size());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_size, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_constraintsEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_constraintsEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Constraints* a0;
        int a0State = 0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AppletScript::constraintsEvent(*a0) : sipCpp->constraintsEvent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_constraintsEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_contextualActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_contextualActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            QList<QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>((sipSelfWasArg ? sipCpp->Plasma::AppletScript::contextualActions() : sipCpp->contextualActions()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_contextualActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_shape(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            QPainterPath*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->Plasma::AppletScript::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_AppletScript, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_setHasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_setHasConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHasConfigurationInterface(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_AppletScript, sipName_setHasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_setFailedToLaunch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_setFailedToLaunch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFailedToLaunch(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_setFailedToLaunch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_configNeedsSaving(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_configNeedsSaving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->configNeedsSaving();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_configNeedsSaving, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_extender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_extender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            Plasma::Extender*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->extender();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Extender,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_extender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_showConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_showConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AppletScript::showConfigurationInterface() : sipCpp->showConfigurationInterface());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_showConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_configChanged(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_configChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AppletScript::configChanged() : sipCpp->configChanged());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_configChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_dataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_mainScript(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_mainScript(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->Plasma::AppletScript::mainScript() : sipCpp->mainScript()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_mainScript, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_package(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            const Plasma::Package*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AppletScript::package() : sipCpp->package());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_package, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_standardConfigurationDialog(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_standardConfigurationDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            KConfigDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->standardConfigurationDialog();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfigDialog,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_standardConfigurationDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_addStandardConfigurationPages(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_addStandardConfigurationPages(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigDialog* a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_KConfigDialog, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addStandardConfigurationPages(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_AppletScript, sipName_addStandardConfigurationPages, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_showMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        const Plasma::MessageButtons* a2;
        int a2State = 0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1J1", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_showMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_registerAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_registerAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QGraphicsItem, &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_AppletScript, sipName_registerAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_unregisterAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_unregisterAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QGraphicsItem, &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_AppletScript, sipName_unregisterAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_isRegisteredAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_isRegisteredAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_isRegisteredAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            KPluginInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_loadAnimationFromPackage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_loadAnimationFromPackage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J:", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_QString,&a0, &a0State, sipType_QObject, &a1))
        {
            Plasma::Animation*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loadAnimationFromPackage(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_Animation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_loadAnimationFromPackage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_drawWallpaper(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_drawWallpaper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->drawWallpaper();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_drawWallpaper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_setDrawWallpaper(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_setDrawWallpaper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDrawWallpaper(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_AppletScript, sipName_setDrawWallpaper, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_containmentType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_containmentType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletScript, &sipCpp))
        {
            Plasma::Containment::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containmentType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Containment_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletScript, sipName_containmentType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletScript_setContainmentType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletScript_setContainmentType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Containment::Type a0;
        Plasma::AppletScript *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AppletScript, &sipCpp, sipType_Plasma_Containment_Type, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainmentType(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_AppletScript, sipName_setContainmentType, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AppletScript(void *, const sipTypeDef *);}
static void *cast_Plasma_AppletScript(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AppletScript)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_ScriptEngine)->ctd_cast((Plasma::ScriptEngine *)(Plasma::AppletScript *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AppletScript(void *, int);}
static void release_Plasma_AppletScript(void *sipCppV,int)
{
    Plasma::AppletScript *sipCpp = reinterpret_cast<Plasma::AppletScript *>(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_AppletScript(sipSimpleWrapper *);}
static void dealloc_Plasma_AppletScript(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AppletScript *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AppletScript(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_Plasma_AppletScript(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_AppletScript(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_AppletScript *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AppletScript(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AppletScript[] = {{112, 255, 1}};


static PyMethodDef methods_Plasma_AppletScript[] = {
    {SIP_MLNAME_CAST(sipName_addStandardConfigurationPages), meth_Plasma_AppletScript_addStandardConfigurationPages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_applet), meth_Plasma_AppletScript_applet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configChanged), meth_Plasma_AppletScript_configChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configNeedsSaving), meth_Plasma_AppletScript_configNeedsSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_AppletScript_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentType), meth_Plasma_AppletScript_containmentType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextualActions), meth_Plasma_AppletScript_contextualActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_AppletScript_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_AppletScript_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawWallpaper), meth_Plasma_AppletScript_drawWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_AppletScript_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_AppletScript_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadAnimationFromPackage), meth_Plasma_AppletScript_loadAnimationFromPackage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainScript), meth_Plasma_AppletScript_mainScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_AppletScript_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintInterface), meth_Plasma_AppletScript_paintInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_AppletScript_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplet), meth_Plasma_AppletScript_setApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_AppletScript_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainmentType), meth_Plasma_AppletScript_setContainmentType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDrawWallpaper), meth_Plasma_AppletScript_setDrawWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_AppletScript_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_AppletScript_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_AppletScript_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showConfigurationInterface), meth_Plasma_AppletScript_showConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_AppletScript_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_Plasma_AppletScript_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardConfigurationDialog), meth_Plasma_AppletScript_standardConfigurationDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_AppletScript_unregisterAsDragHandle, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_AppletScript[] = {
    {"popupEvent(bool)", 0, 0, 0},
    {"saveState(KConfigGroup&)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AppletScript = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AppletScript,
        {0}
    },
    {
        sipNameNr_AppletScript,
        {1, 255, 0},
        29, methods_Plasma_AppletScript,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AppletScript,
    0,
    init_type_Plasma_AppletScript,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AppletScript,
    0,
    0,
    0,
    release_Plasma_AppletScript,
    cast_Plasma_AppletScript,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::AppletScript::staticMetaObject,
    0,
    signals_Plasma_AppletScript,
};
