/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:41:35 2011
 */

#include "sipAPIplasma.h"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/abstracttoolbox.sip"
#include <plasma/abstracttoolbox.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 193 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 223 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 110 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 53 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 64 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 97 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 67 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 73 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/wallpaper.sip"
#include <plasma/wallpaper.h>
#line 76 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 82 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 85 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 164 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 88 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 91 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 94 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/corona.sip"
#include <plasma/corona.h>
#line 97 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 109 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 112 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 103 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 115 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 118 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 121 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 124 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 133 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 139 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 142 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 145 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 148 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 1755 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 151 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 154 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 157 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 160 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 163 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 166 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 169 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 172 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 175 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 178 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 244 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 181 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 190 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 193 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 196 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 202 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 205 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 208 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 211 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 214 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 217 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 220 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 223 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 226 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 229 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 232 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 235 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 238 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 241 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 244 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 1030 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 247 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 250 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 253 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 256 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 259 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 343 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 262 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 265 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 271 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 274 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 995 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 277 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 280 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 283 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 286 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_Containment : public Plasma::Containment
{
public:
    sipPlasma_Containment(QGraphicsItem *,const QString&,uint);
    sipPlasma_Containment(QObject *,const QVariantList&);
    virtual ~sipPlasma_Containment();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[79];
};

sipPlasma_Containment::sipPlasma_Containment(QGraphicsItem *a0,const QString& a1,uint a2): Plasma::Containment(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

const QMetaObject *sipPlasma_Containment::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Containment);
}

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

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

    return _id;
}

void *sipPlasma_Containment::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Containment,_clname)) ? this : Plasma::Containment::qt_metacast(_clname);
}

void sipPlasma_Containment::showDropZone(const QPoint a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::showDropZone(a0);
        return;
    }

    extern void sipVH_plasma_22(sip_gilstate_t,PyObject *,const QPoint);

    sipVH_plasma_22(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::saveContents(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::saveContents(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::restoreContents(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::restoreContents(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

Plasma::FormFactor sipPlasma_Containment::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t,PyObject *);

    return sipVH_plasma_27(sipGILState,sipMeth);
}

Plasma::Location sipPlasma_Containment::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t,PyObject *);

    return sipVH_plasma_26(sipGILState,sipMeth);
}

void sipPlasma_Containment::paintInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_8(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,const QRect&);

    sipVH_plasma_8(sipGILState,sipMeth,a0,a1,a2);
}

QList<QAction *> sipPlasma_Containment::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef QList<QAction *> (*sipVH_QtGui_168)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState,sipMeth);
}

bool sipPlasma_Containment::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

void sipPlasma_Containment::addAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::removeAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::initExtenderItem(Plasma::ExtenderItem *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_18(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sipVH_plasma_18(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::createConfigurationInterface(KConfigDialog *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_25(sip_gilstate_t,PyObject *,KConfigDialog *);

    sipVH_plasma_25(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::destroy();
        return;
    }

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

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

void sipPlasma_Containment::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::showConfigurationInterface();
        return;
    }

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

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

void sipPlasma_Containment::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::init();
        return;
    }

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

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

void sipPlasma_Containment::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Containment::configChanged();
        return;
    }

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

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

void sipPlasma_Containment::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Containment::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_7(sip_gilstate_t,PyObject *,Plasma::Constraints);

    sipVH_plasma_7(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QObject * sipPlasma_Containment::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

void sipPlasma_Containment::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipPlasma_Containment::sipProtect_setContainmentType(Plasma::Containment::Type a0)
{
    Plasma::Containment::setContainmentType(a0);
}

void sipPlasma_Containment::sipProtect_setDrawWallpaper(bool a0)
{
    Plasma::Containment::setDrawWallpaper(a0);
}

void sipPlasma_Containment::sipProtectVirt_saveContents(bool sipSelfWasArg,KConfigGroup& a0) const
{
    (sipSelfWasArg ? Plasma::Containment::saveContents(a0) : saveContents(a0));
}

void sipPlasma_Containment::sipProtectVirt_restoreContents(bool sipSelfWasArg,KConfigGroup& a0)
{
    (sipSelfWasArg ? Plasma::Containment::restoreContents(a0) : restoreContents(a0));
}

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

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

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

void sipPlasma_Containment::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? Plasma::Containment::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_Containment::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? Plasma::Containment::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_Containment::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? Plasma::Containment::wheelEvent(a0) : wheelEvent(a0));
}

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

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

void sipPlasma_Containment::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? Plasma::Containment::dragMoveEvent(a0) : dragMoveEvent(a0));
}

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

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

const QGraphicsItem * sipPlasma_Containment::sipProtect_toolBoxItem() const
{
    return Plasma::Containment::toolBoxItem();
}

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

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

void sipPlasma_Containment::sipProtect_setToolBox(Plasma::AbstractToolBox *a0)
{
    Plasma::Containment::setToolBox(a0);
}

Plasma::AbstractToolBox * sipPlasma_Containment::sipProtect_toolBox() const
{
    return Plasma::Containment::toolBox();
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::InputMethodQuery a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant *sipRes;

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

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

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 2431 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 2473 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QStyleOption * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QStyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QPointF * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QPointF, &a0))
        {
            Qt::WindowFrameSection sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFailedToLaunch(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfigGroup * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_constraintsEvent(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_extender();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF *sipRes;

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

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

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::init() : sipCpp->init());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &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_Containment, sipName_containmentType, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Plasma::Corona *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->corona();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Containment::listContainments(*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_Containment, sipName_listContainments, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Containment::listContainmentsOfType(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::Containment::listContainmentTypes());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Containment::listContainmentsForMimetype(*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_Containment, sipName_listContainmentsForMimetype, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QVariantList& a1def = QVariantList();
        const QVariantList * a1 = &a1def;
        int a1State = 0;
        const QRectF& a2def = QRectF(-1,-1,-1,-1);
        const QRectF * a2 = &a2def;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_QRectF, &a2))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addApplet(*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_Applet,NULL);
        }
    }

    {
        Plasma::Applet * a0;
        const QPointF& a1def = QPointF(-1,-1);
        const QPointF * a1 = &a1def;
        bool a2 = 1;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J9b", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_Applet, &a0, sipType_QPointF, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addApplet(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_Containment, sipName_addApplet, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Plasma::Applet::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Applet::List(sipCpp->applets());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1 = -1;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|i", &sipSelf, sipType_Plasma_Containment, &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_Containment, sipName_setScreen, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &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_Containment, sipName_screen, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &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_Containment, sipName_desktop, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::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_Containment, sipName_save, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::restore(*a0) : 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_Containment, sipName_restore, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableAction(*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_Containment, sipName_enableAction, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addToolBoxAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeToolBoxAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::addAssociatedWidget(a0) : sipCpp->addAssociatedWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::removeAssociatedWidget(a0) : sipCpp->removeAssociatedWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &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_Containment, sipName_drawWallpaper, NULL);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWallpaper(*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_Containment, sipName_setWallpaper, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &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_Containment, sipName_wallpaper, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActivity(*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_Containment, sipName_setActivity, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QPointF * a0;
        const QPoint * a1;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QPointF, &a0, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showContextMenu(*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_Containment, sipName_showContextMenu, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::showDropZone(*a0) : sipCpp->showDropZone(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Location a0;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_Location, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLocation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::FormFactor a0;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_FormFactor, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFormFactor(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::destroy() : sipCpp->destroy());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        bool a0;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::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_Containment, sipName_showConfigurationInterface, NULL);

    return NULL;
}


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

    {
        Plasma::Containment::Type a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_Containment_Type, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_Containment, sipName_setContainmentType, NULL);

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Containment, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_Containment, sipName_setDrawWallpaper, NULL);

    return NULL;
}


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

    {
        KConfigGroup * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveContents(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfigGroup * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_restoreContents(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            const QGraphicsItem *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_toolBoxItem();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QGraphicsItem *>(sipRes),sipType_QGraphicsItem,NULL);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainmentActions(*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_Containment, sipName_setContainmentActions, NULL);

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->containmentActionsTriggers());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->containmentActions(*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_Containment, sipName_containmentActions, NULL);

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractToolBox * a0;
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_AbstractToolBox, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setToolBox(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Plasma::AbstractToolBox *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_toolBox();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Plasma::Context *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->context();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastScreen();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lastDesktop();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isToolBoxOpen();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->containmentActionsConfig());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::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_Containment, sipName_configChanged, NULL);

    return NULL;
}


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

    if (targetType == sipType_Plasma_Containment)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Containment *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Containment *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QGraphicsItem * a0 = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        uint a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J8J1u", sipType_QGraphicsItem, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Containment(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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


static PyMethodDef methods_Plasma_Containment[] = {
    {SIP_MLNAME_CAST(sipName_activity), meth_Plasma_Containment_activity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addApplet), meth_Plasma_Containment_addApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAssociatedWidget), meth_Plasma_Containment_addAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSiblingContainment), meth_Plasma_Containment_addSiblingContainment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addToolBoxAction), meth_Plasma_Containment_addToolBoxAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_applets), meth_Plasma_Containment_applets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_Containment_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Containment_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearApplets), meth_Plasma_Containment_clearApplets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_Containment_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeToolBox), meth_Plasma_Containment_closeToolBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configChanged), meth_Plasma_Containment_configChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Containment_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_Containment_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentActions), meth_Plasma_Containment_containmentActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentActionsConfig), meth_Plasma_Containment_containmentActionsConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentActionsTriggers), meth_Plasma_Containment_containmentActionsTriggers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentType), meth_Plasma_Containment_containmentType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_context), meth_Plasma_Containment_context, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_Containment_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_corona), meth_Plasma_Containment_corona, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Containment_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_desktop), meth_Plasma_Containment_desktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Plasma_Containment_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Containment_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_Containment_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_Containment_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_Containment_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawWallpaper), meth_Plasma_Containment_drawWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_Containment_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableAction), meth_Plasma_Containment_enableAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Containment_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_Containment_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_Containment_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_Containment_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextApplet), meth_Plasma_Containment_focusNextApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_Containment_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_Containment_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousApplet), meth_Plasma_Containment_focusPreviousApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_Containment_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_Containment_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_Containment_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_Containment_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_Containment_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_Containment_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_Containment_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_Containment_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_Containment_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_Containment_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_Containment_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isToolBoxOpen), meth_Plasma_Containment_isToolBoxOpen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_Containment_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_Containment_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_Containment_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastDesktop), meth_Plasma_Containment_lastDesktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastScreen), meth_Plasma_Containment_lastScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listContainmentTypes), meth_Plasma_Containment_listContainmentTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listContainments), meth_Plasma_Containment_listContainments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listContainmentsForMimetype), meth_Plasma_Containment_listContainmentsForMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listContainmentsOfType), meth_Plasma_Containment_listContainmentsOfType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_Containment_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Containment_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Containment_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_Containment_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_Containment_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openToolBox), meth_Plasma_Containment_openToolBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_Containment_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_Containment_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Containment_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_Containment_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAssociatedWidget), meth_Plasma_Containment_removeAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeToolBoxAction), meth_Plasma_Containment_removeToolBoxAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Containment_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restore), meth_Plasma_Containment_restore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restoreContents), meth_Plasma_Containment_restoreContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Plasma_Containment_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveContents), meth_Plasma_Containment_saveContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_Containment_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_Containment_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_Containment_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screen), meth_Plasma_Containment_screen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_Containment_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActivity), meth_Plasma_Containment_setActivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_Containment_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainmentActions), meth_Plasma_Containment_setContainmentActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainmentType), meth_Plasma_Containment_setContainmentType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDrawWallpaper), meth_Plasma_Containment_setDrawWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_Containment_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFormFactor), meth_Plasma_Containment_setFormFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_Containment_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_Containment_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocation), meth_Plasma_Containment_setLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_Containment_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScreen), meth_Plasma_Containment_setScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolBox), meth_Plasma_Containment_setToolBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolBoxOpen), meth_Plasma_Containment_setToolBoxOpen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWallpaper), meth_Plasma_Containment_setWallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_Containment_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showConfigurationInterface), meth_Plasma_Containment_showConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showContextMenu), meth_Plasma_Containment_showContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showDropZone), meth_Plasma_Containment_showDropZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_Containment_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_Containment_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Containment_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Containment_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBox), meth_Plasma_Containment_toolBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBoxItem), meth_Plasma_Containment_toolBoxItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_Containment_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_Containment_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_Containment_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_Containment_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Plasma_Containment_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wallpaper), meth_Plasma_Containment_wallpaper, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_Containment_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_Containment_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_Containment_windowFrameSectionAt, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Containment[] = {
    {sipName_CustomContainment, Plasma::Containment::CustomContainment, 47},
    {sipName_CustomPanelContainment, Plasma::Containment::CustomPanelContainment, 47},
    {sipName_DesktopContainment, Plasma::Containment::DesktopContainment, 47},
    {sipName_NoContainmentType, Plasma::Containment::NoContainmentType, 47},
    {sipName_PanelContainment, Plasma::Containment::PanelContainment, 47},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_Containment[] = {
    {"contextChanged(Plasma::Context *)", 0, 0},
    {"configureRequested(Plasma::Containment *)", 0, 0},
    {"screenChanged(int,int,Plasma::Containment *)", 0, 0},
    {"showAddWidgetsInterface(QPointF)", 0, 0},
    {"addSiblingContainment(Plasma::Containment *)", 0, &methods_Plasma_Containment[3]},
    {"toolBoxVisibilityChanged(bool)", 0, 0},
    {"toolBoxToggled()", 0, 0},
    {"zoomRequested(Plasma::Containment *,Plasma::ZoomDirection)", 0, 0},
    {"appletRemoved(Plasma::Applet *)", 0, 0},
    {"appletAdded(Plasma::Applet *,QPointF)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Containment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Containment,
        {0}
    },
    {
        sipNameNr_Containment,
        {1, 255, 0},
        116, methods_Plasma_Containment,
        5, enummembers_Plasma_Containment,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Containment,
    0,
    init_Plasma_Containment,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Containment,
    0,
    0,
    0,
    release_Plasma_Containment,
    cast_Plasma_Containment,
    0,
    0,
    0
},
    &Plasma::Containment::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Containment
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 5822 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5826 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 5829 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 5835 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5838 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5841 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5844 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5847 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 5850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 5853 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 5856 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 5859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5862 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 5865 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 5868 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 5871 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5874 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 628 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5877 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5880 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5883 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 360 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 5886 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5889 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5892 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5895 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5898 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5901 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5904 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5907 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5910 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5913 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5916 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5919 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5922 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5925 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5928 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5931 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5934 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5937 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5946 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5949 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5952 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5961 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5964 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_ConfigLoader : public Plasma::ConfigLoader
{
public:
    sipPlasma_ConfigLoader(const QString&,QIODevice *,QObject *);
    sipPlasma_ConfigLoader(KSharedConfigPtr,QIODevice *,QObject *);
    sipPlasma_ConfigLoader(const KConfigGroup *,QIODevice *,QObject *);
    virtual ~sipPlasma_ConfigLoader();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[15];
};

sipPlasma_ConfigLoader::sipPlasma_ConfigLoader(const QString& a0,QIODevice *a1,QObject *a2): Plasma::ConfigLoader(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ConfigLoader::sipPlasma_ConfigLoader(KSharedConfigPtr a0,QIODevice *a1,QObject *a2): Plasma::ConfigLoader(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ConfigLoader::sipPlasma_ConfigLoader(const KConfigGroup *a0,QIODevice *a1,QObject *a2): Plasma::ConfigLoader(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_ConfigLoader::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ConfigLoader);
}

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

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

    return _id;
}

void *sipPlasma_ConfigLoader::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_ConfigLoader,_clname)) ? this : Plasma::ConfigLoader::qt_metacast(_clname);
}

void sipPlasma_ConfigLoader::setDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::setDefaults();
        return;
    }

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

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

void sipPlasma_ConfigLoader::readConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::readConfig();
        return;
    }

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

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

void sipPlasma_ConfigLoader::writeConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::writeConfig();
        return;
    }

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

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

bool sipPlasma_ConfigLoader::useDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::useDefaults(a0);

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

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

bool sipPlasma_ConfigLoader::usrUseDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::usrUseDefaults(a0);

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

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

void sipPlasma_ConfigLoader::usrSetDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::usrSetDefaults();
        return;
    }

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

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

void sipPlasma_ConfigLoader::usrReadConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::usrReadConfig();
        return;
    }

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

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

void sipPlasma_ConfigLoader::usrWriteConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::ConfigLoader::usrWriteConfig();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QObject * sipPlasma_ConfigLoader::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

bool sipPlasma_ConfigLoader::sipProtectVirt_usrUseDefaults(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? KCoreConfigSkeleton::usrUseDefaults(a0) : usrUseDefaults(a0));
}

void sipPlasma_ConfigLoader::sipProtectVirt_usrSetDefaults(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KCoreConfigSkeleton::usrSetDefaults() : usrSetDefaults());
}

void sipPlasma_ConfigLoader::sipProtectVirt_usrReadConfig(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KCoreConfigSkeleton::usrReadConfig() : usrReadConfig());
}

void sipPlasma_ConfigLoader::sipProtectVirt_usrWriteConfig(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Plasma::ConfigLoader::usrWriteConfig() : usrWriteConfig());
}


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

    {
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 6406 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 6448 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_usrSetDefaults(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_usrReadConfig(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        Plasma::ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KConfigSkeletonItem *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findItem(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KConfigSkeletonItem *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findItemByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->property(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasGroup(*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_ConfigLoader, sipName_hasGroup, NULL);

    return NULL;
}


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

    {
        Plasma::ConfigLoader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->groupList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipPlasma_ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_usrWriteConfig(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_ConfigLoader)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeleton)->ctd_cast((KConfigSkeleton *)(Plasma::ConfigLoader *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_ConfigLoader *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::ConfigLoader *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_Plasma_ConfigLoader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_ConfigLoader(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_ConfigLoader *sipCpp = 0;

    {
        const QString * a0;
        int a0State = 0;
        QIODevice * a1;
        QObject * a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J8|JH", sipType_QString,&a0, &a0State, sipType_QIODevice, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ConfigLoader(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KSharedConfigPtr * a0;
        int a0State = 0;
        QIODevice * a1;
        QObject * a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J8|JH", sipType_KSharedConfigPtr,&a0, &a0State, sipType_QIODevice, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ConfigLoader(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KSharedConfigPtr,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KConfigGroup * a0;
        QIODevice * a1;
        QObject * a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8|JH", sipType_KConfigGroup, &a0, sipType_QIODevice, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ConfigLoader(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ConfigLoader[] = {{66, 6, 1}};


static PyMethodDef methods_Plasma_ConfigLoader[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_ConfigLoader_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_ConfigLoader_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_ConfigLoader_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_ConfigLoader_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findItem), meth_Plasma_ConfigLoader_findItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findItemByName), meth_Plasma_ConfigLoader_findItemByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupList), meth_Plasma_ConfigLoader_groupList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasGroup), meth_Plasma_ConfigLoader_hasGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_Plasma_ConfigLoader_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_ConfigLoader_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_ConfigLoader_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_ConfigLoader_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrReadConfig), meth_Plasma_ConfigLoader_usrReadConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrSetDefaults), meth_Plasma_ConfigLoader_usrSetDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrUseDefaults), meth_Plasma_ConfigLoader_usrUseDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrWriteConfig), meth_Plasma_ConfigLoader_usrWriteConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ConfigLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ConfigLoader,
        {0}
    },
    {
        sipNameNr_ConfigLoader,
        {1, 255, 0},
        16, methods_Plasma_ConfigLoader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ConfigLoader,
    0,
    init_Plasma_ConfigLoader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ConfigLoader,
    0,
    0,
    0,
    release_Plasma_ConfigLoader,
    cast_Plasma_ConfigLoader,
    0,
    0,
    0
},
    &Plasma::ConfigLoader::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/clientpinrequest.sip"
#include <plasma/clientpinrequest.h>
#line 7045 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7049 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7052 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7055 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7058 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7061 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7064 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7067 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7070 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7073 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7076 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7079 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7082 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7085 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static PyObject *meth_Plasma_ClientPinRequest_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ClientPinRequest_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ClientPinRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ClientPinRequest, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ClientPinRequest, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ClientPinRequest_setPin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ClientPinRequest_setPin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ClientPinRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ClientPinRequest, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPin(*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_ClientPinRequest, sipName_setPin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ClientPinRequest_pin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ClientPinRequest_pin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ClientPinRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ClientPinRequest, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pin());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ClientPinRequest, sipName_pin, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ClientPinRequest(void *, const sipTypeDef *);}
static void *cast_Plasma_ClientPinRequest(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_ClientPinRequest)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::ClientPinRequest *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ClientPinRequest(void *, int);}
static void release_Plasma_ClientPinRequest(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ClientPinRequest[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_ClientPinRequest[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_ClientPinRequest_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pin), meth_Plasma_ClientPinRequest_pin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPin), meth_Plasma_ClientPinRequest_setPin, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_ClientPinRequest[] = {
    {"changed(Plasma::ClientPinRequest *)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ClientPinRequest = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ClientPinRequest,
        {0}
    },
    {
        sipNameNr_ClientPinRequest,
        {1, 255, 0},
        3, methods_Plasma_ClientPinRequest,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ClientPinRequest,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_ClientPinRequest,
    cast_Plasma_ClientPinRequest,
    0,
    0,
    0
},
    &Plasma::ClientPinRequest::staticMetaObject,
    0,
    pyqt4_signals_Plasma_ClientPinRequest
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/authorizationrule.sip"
#include <plasma/authorizationrule.h>
#line 7264 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7268 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7271 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7274 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7277 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7280 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7283 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7286 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7289 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7292 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7295 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7298 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7301 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7304 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_setPolicy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_setPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule::Policy a0;
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp, sipType_Plasma_AuthorizationRule_Policy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_setPolicy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_policy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_policy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp))
        {
            Plasma::AuthorizationRule::Policy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->policy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_AuthorizationRule_Policy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_policy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_setPersistence(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_setPersistence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule::Persistence a0;
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp, sipType_Plasma_AuthorizationRule_Persistence, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPersistence(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_setPersistence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_persistence(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_persistence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp))
        {
            Plasma::AuthorizationRule::Persistence sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->persistence();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_AuthorizationRule_Persistence);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_persistence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_setPin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_setPin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPin(*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_AuthorizationRule, sipName_setPin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_pin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_pin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pin());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_pin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationRule_serviceName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationRule_serviceName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationRule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AuthorizationRule, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->serviceName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationRule, sipName_serviceName, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AuthorizationRule(void *, const sipTypeDef *);}
static void *cast_Plasma_AuthorizationRule(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AuthorizationRule)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AuthorizationRule *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AuthorizationRule(void *, int);}
static void release_Plasma_AuthorizationRule(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::AuthorizationRule *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AuthorizationRule(sipSimpleWrapper *);}
static void dealloc_Plasma_AuthorizationRule(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AuthorizationRule(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AuthorizationRule[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_AuthorizationRule[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_AuthorizationRule_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistence), meth_Plasma_AuthorizationRule_persistence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pin), meth_Plasma_AuthorizationRule_pin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_policy), meth_Plasma_AuthorizationRule_policy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serviceName), meth_Plasma_AuthorizationRule_serviceName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPersistence), meth_Plasma_AuthorizationRule_setPersistence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPin), meth_Plasma_AuthorizationRule_setPin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPolicy), meth_Plasma_AuthorizationRule_setPolicy, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_AuthorizationRule[] = {
    {sipName_AllServices, Plasma::AuthorizationRule::AllServices, 33},
    {sipName_AllUsers, Plasma::AuthorizationRule::AllUsers, 33},
    {sipName_Allow, Plasma::AuthorizationRule::Allow, 32},
    {sipName_Default, Plasma::AuthorizationRule::Default, 33},
    {sipName_Deny, Plasma::AuthorizationRule::Deny, 32},
    {sipName_Persistent, Plasma::AuthorizationRule::Persistent, 31},
    {sipName_PinRequired, Plasma::AuthorizationRule::PinRequired, 32},
    {sipName_Transient, Plasma::AuthorizationRule::Transient, 31},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_AuthorizationRule[] = {
    {"changed(Plasma::AuthorizationRule *)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AuthorizationRule = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AuthorizationRule,
        {0}
    },
    {
        sipNameNr_AuthorizationRule,
        {1, 255, 0},
        8, methods_Plasma_AuthorizationRule,
        8, enummembers_Plasma_AuthorizationRule,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AuthorizationRule,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AuthorizationRule,
    0,
    0,
    0,
    release_Plasma_AuthorizationRule,
    cast_Plasma_AuthorizationRule,
    0,
    0,
    0
},
    &Plasma::AuthorizationRule::staticMetaObject,
    0,
    pyqt4_signals_Plasma_AuthorizationRule
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/authorizationmanager.sip"
#include <plasma/authorizationmanager.h>
#line 7649 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/authorizationinterface.sip"
#include <plasma/authorizationinterface.h>
#line 7653 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7656 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7659 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7662 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7665 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7668 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7671 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7674 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7677 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7680 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7683 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7686 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7689 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7692 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static PyObject *meth_Plasma_AuthorizationManager_self(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationManager_self(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::AuthorizationManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::AuthorizationManager::self();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_AuthorizationManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationManager, sipName_self, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationManager_setAuthorizationPolicy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationManager_setAuthorizationPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationManager::AuthorizationPolicy a0;
        Plasma::AuthorizationManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AuthorizationManager, &sipCpp, sipType_Plasma_AuthorizationManager_AuthorizationPolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthorizationPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationManager, sipName_setAuthorizationPolicy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationManager_setAuthorizationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationManager_setAuthorizationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AuthorizationInterface * a0;
        Plasma::AuthorizationManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AuthorizationManager, &sipCpp, sipType_Plasma_AuthorizationInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthorizationInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationManager, sipName_setAuthorizationInterface, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AuthorizationManager(void *, const sipTypeDef *);}
static void *cast_Plasma_AuthorizationManager(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AuthorizationManager)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AuthorizationManager *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AuthorizationManager(void *, int);}
static void release_Plasma_AuthorizationManager(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AuthorizationManager[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_AuthorizationManager[] = {
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_AuthorizationManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthorizationInterface), meth_Plasma_AuthorizationManager_setAuthorizationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthorizationPolicy), meth_Plasma_AuthorizationManager_setAuthorizationPolicy, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_AuthorizationManager[] = {
    {sipName_Custom, Plasma::AuthorizationManager::Custom, 29},
    {sipName_DenyAll, Plasma::AuthorizationManager::DenyAll, 29},
    {sipName_PinPairing, Plasma::AuthorizationManager::PinPairing, 29},
    {sipName_TrustedOnly, Plasma::AuthorizationManager::TrustedOnly, 29},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_AuthorizationManager[] = {
    {"readyForRemoteAccess()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AuthorizationManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AuthorizationManager,
        {0}
    },
    {
        sipNameNr_AuthorizationManager,
        {1, 255, 0},
        3, methods_Plasma_AuthorizationManager,
        4, enummembers_Plasma_AuthorizationManager,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AuthorizationManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_AuthorizationManager,
    cast_Plasma_AuthorizationManager,
    0,
    0,
    0
},
    &Plasma::AuthorizationManager::staticMetaObject,
    0,
    pyqt4_signals_Plasma_AuthorizationManager
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/authorizationinterface.sip"
#include <plasma/authorizationinterface.h>
#line 7874 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/clientpinrequest.sip"
#include <plasma/clientpinrequest.h>
#line 7878 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/authorizationrule.sip"
#include <plasma/authorizationrule.h>
#line 7881 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_AuthorizationInterface : public Plasma::AuthorizationInterface
{
public:
    sipPlasma_AuthorizationInterface();
    sipPlasma_AuthorizationInterface(const Plasma::AuthorizationInterface&);
    virtual ~sipPlasma_AuthorizationInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void authorizationRequest(Plasma::AuthorizationRule&);
    void clientPinRequest(Plasma::ClientPinRequest&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_AuthorizationInterface(const sipPlasma_AuthorizationInterface &);
    sipPlasma_AuthorizationInterface &operator = (const sipPlasma_AuthorizationInterface &);

    char sipPyMethods[2];
};

sipPlasma_AuthorizationInterface::sipPlasma_AuthorizationInterface(): Plasma::AuthorizationInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AuthorizationInterface::sipPlasma_AuthorizationInterface(const Plasma::AuthorizationInterface& a0): Plasma::AuthorizationInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AuthorizationInterface::~sipPlasma_AuthorizationInterface()
{
    sipCommonDtor(sipPySelf);
}

void sipPlasma_AuthorizationInterface::authorizationRequest(Plasma::AuthorizationRule& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_AuthorizationInterface,sipName_authorizationRequest);

    if (!sipMeth)
        return;

    extern void sipVH_plasma_24(sip_gilstate_t,PyObject *,Plasma::AuthorizationRule&);

    sipVH_plasma_24(sipGILState,sipMeth,a0);
}

void sipPlasma_AuthorizationInterface::clientPinRequest(Plasma::ClientPinRequest& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_AuthorizationInterface,sipName_clientPinRequest);

    if (!sipMeth)
        return;

    extern void sipVH_plasma_23(sip_gilstate_t,PyObject *,Plasma::ClientPinRequest&);

    sipVH_plasma_23(sipGILState,sipMeth,a0);
}


extern "C" {static PyObject *meth_Plasma_AuthorizationInterface_authorizationRequest(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationInterface_authorizationRequest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        Plasma::AuthorizationRule * a0;
        Plasma::AuthorizationInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AuthorizationInterface, &sipCpp, sipType_Plasma_AuthorizationRule, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuthorizationInterface, sipName_authorizationRequest);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->authorizationRequest(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationInterface, sipName_authorizationRequest, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AuthorizationInterface_clientPinRequest(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AuthorizationInterface_clientPinRequest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        Plasma::ClientPinRequest * a0;
        Plasma::AuthorizationInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AuthorizationInterface, &sipCpp, sipType_Plasma_ClientPinRequest, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AuthorizationInterface, sipName_clientPinRequest);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->clientPinRequest(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AuthorizationInterface, sipName_clientPinRequest, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AuthorizationInterface(void *, const sipTypeDef *);}
static void *cast_Plasma_AuthorizationInterface(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_AuthorizationInterface)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AuthorizationInterface(void *, int);}
static void release_Plasma_AuthorizationInterface(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AuthorizationInterface *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AuthorizationInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AuthorizationInterface(sipSimpleWrapper *);}
static void dealloc_Plasma_AuthorizationInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AuthorizationInterface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AuthorizationInterface(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_AuthorizationInterface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_AuthorizationInterface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipPlasma_AuthorizationInterface *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AuthorizationInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Plasma::AuthorizationInterface * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Plasma_AuthorizationInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AuthorizationInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_AuthorizationInterface[] = {
    {SIP_MLNAME_CAST(sipName_authorizationRequest), meth_Plasma_AuthorizationInterface_authorizationRequest, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clientPinRequest), meth_Plasma_AuthorizationInterface_clientPinRequest, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AuthorizationInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AuthorizationInterface,
        {0}
    },
    {
        sipNameNr_AuthorizationInterface,
        {1, 255, 0},
        2, methods_Plasma_AuthorizationInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Plasma_AuthorizationInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AuthorizationInterface,
    0,
    0,
    0,
    release_Plasma_AuthorizationInterface,
    cast_Plasma_AuthorizationInterface,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 227 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 8157 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 8161 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8164 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8167 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8170 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 8173 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8176 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8179 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8182 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 8185 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8191 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 103 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 8194 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8197 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 8200 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 223 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8203 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8206 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 53 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8209 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8212 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8215 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 8218 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 8221 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8227 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 8236 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 8239 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 8242 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8245 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 8248 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 8251 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8254 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8257 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 1755 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8260 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 8263 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8266 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 8269 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8272 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 8275 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 8278 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 164 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8281 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 8284 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 8287 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 8290 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 8293 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 8296 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8299 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 244 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8302 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8305 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8308 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 97 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8311 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8314 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8317 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8320 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8323 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8326 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8329 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 8332 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8335 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8338 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8341 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8344 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8347 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8350 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8353 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8356 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8359 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8362 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 8365 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8368 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 1030 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8371 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 8374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 8377 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8380 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8383 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8386 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8389 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 193 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8392 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 110 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8395 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 343 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 8398 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 8401 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8404 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8407 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8410 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 995 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8413 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 8416 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 8419 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8422 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_AppletProtectedThunk : public Plasma::AppletProtectedThunk
{
public:
    sipPlasma_AppletProtectedThunk();
    virtual ~sipPlasma_AppletProtectedThunk();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_updateMicroFocus();
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtect_setFailedToLaunch(bool,const QString&);
    void sipProtectVirt_saveState(bool,KConfigGroup&) const;
    void sipProtect_setHasConfigurationInterface(bool);
    void sipProtect_setConfigurationRequired(bool,const QString&);
    void sipProtect_showMessage(const QIcon&,const QString&,const Plasma::MessageButtons);
    void sipProtectVirt_constraintsEvent(bool,Plasma::Constraints);
    void sipProtect_registerAsDragHandle(QGraphicsItem *);
    void sipProtect_unregisterAsDragHandle(QGraphicsItem *);
    bool sipProtect_isRegisteredAsDragHandle(QGraphicsItem *);
    Plasma::Extender * sipProtect_extender() const;
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    QPainterPath sipProtectVirt_shape(bool) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void save(KConfigGroup&) const;
    void restore(KConfigGroup&);
    Plasma::FormFactor formFactor() const;
    Plasma::Location location() const;
    void paintInterface(QPainter *,const QStyleOptionGraphicsItem *,const QRect&);
    QList<QAction *> contextualActions();
    bool isPopupShowing() const;
    void addAssociatedWidget(QWidget *);
    void removeAssociatedWidget(QWidget *);
    void initExtenderItem(Plasma::ExtenderItem *);
    void createConfigurationInterface(KConfigDialog *);
    void destroy();
    void showConfigurationInterface();
    void init();
    void configChanged();
    void saveState(KConfigGroup&) const;
    void constraintsEvent(Plasma::Constraints);
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool event(QEvent *);
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void focusInEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent *);
    void hideEvent(QHideEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void showEvent(QShowEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    bool sceneEventFilter(QGraphicsItem *,QEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_AppletProtectedThunk(const sipPlasma_AppletProtectedThunk &);
    sipPlasma_AppletProtectedThunk &operator = (const sipPlasma_AppletProtectedThunk &);

    char sipPyMethods[76];
};

sipPlasma_AppletProtectedThunk::sipPlasma_AppletProtectedThunk(): Plasma::AppletProtectedThunk(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AppletProtectedThunk::~sipPlasma_AppletProtectedThunk()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AppletProtectedThunk::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AppletProtectedThunk);
}

int sipPlasma_AppletProtectedThunk::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AppletProtectedThunk::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AppletProtectedThunk,_c,_id,_a);

    return _id;
}

void *sipPlasma_AppletProtectedThunk::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_AppletProtectedThunk,_clname)) ? this : Plasma::AppletProtectedThunk::qt_metacast(_clname);
}

void sipPlasma_AppletProtectedThunk::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::Applet::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_restore);

    if (!sipMeth)
    {
        Plasma::Applet::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

Plasma::FormFactor sipPlasma_AppletProtectedThunk::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_formFactor);

    if (!sipMeth)
        return Plasma::Applet::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t,PyObject *);

    return sipVH_plasma_27(sipGILState,sipMeth);
}

Plasma::Location sipPlasma_AppletProtectedThunk::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_location);

    if (!sipMeth)
        return Plasma::Applet::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t,PyObject *);

    return sipVH_plasma_26(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::paintInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paintInterface);

    if (!sipMeth)
    {
        Plasma::Applet::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,const QRect&);

    sipVH_plasma_8(sipGILState,sipMeth,a0,a1,a2);
}

QList<QAction *> sipPlasma_AppletProtectedThunk::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::Applet::contextualActions();

    typedef QList<QAction *> (*sipVH_QtGui_168)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState,sipMeth);
}

bool sipPlasma_AppletProtectedThunk::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isPopupShowing);

    if (!sipMeth)
        return Plasma::Applet::isPopupShowing();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::addAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_addAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::removeAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::initExtenderItem(Plasma::ExtenderItem *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_initExtenderItem);

    if (!sipMeth)
    {
        Plasma::Applet::initExtenderItem(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sipVH_plasma_18(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::createConfigurationInterface(KConfigDialog *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::createConfigurationInterface(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t,PyObject *,KConfigDialog *);

    sipVH_plasma_25(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_destroy);

    if (!sipMeth)
    {
        Plasma::Applet::destroy();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::showConfigurationInterface();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::Applet::init();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_configChanged);

    if (!sipMeth)
    {
        Plasma::Applet::configChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        Plasma::Applet::saveState(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_constraintsEvent);

    if (!sipMeth)
    {
        Plasma::Applet::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t,PyObject *,Plasma::Constraints);

    sipVH_plasma_7(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t,PyObject *,const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState,sipMeth,a0,a1,a2,a3);
}

int sipPlasma_AppletProtectedThunk::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Applet::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,sipMeth,a0,a1,a2);
}

void sipPlasma_AppletProtectedThunk::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Applet::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,sipMeth,a0,a1,a2);
}

QRectF sipPlasma_AppletProtectedThunk::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,sipMeth);
}

QPainterPath sipPlasma_AppletProtectedThunk::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::Applet::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::initStyleOption(QStyleOption *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *,QStyleOption *);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,sipMeth,a0);
}

QSizeF sipPlasma_AppletProtectedThunk::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Applet::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AppletProtectedThunk::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QVariant sipPlasma_AppletProtectedThunk::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Applet::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_AppletProtectedThunk::sceneEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::windowFrameEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

Qt::WindowFrameSection sipPlasma_AppletProtectedThunk::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Applet::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGraphicsWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::Applet::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::grabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::ungrabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::grabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::ungrabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Applet::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AppletProtectedThunk::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Applet::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsItem::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_AppletProtectedThunk::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_AppletProtectedThunk::isObscuredBy(const QGraphicsItem *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsItem::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState,sipMeth,a0);
}

QPainterPath sipPlasma_AppletProtectedThunk::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsItem::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,sipMeth);
}

void sipPlasma_AppletProtectedThunk::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,sipMeth,a0);
}

QVariant sipPlasma_AppletProtectedThunk::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsItem::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AppletProtectedThunk::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Applet::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AppletProtectedThunk::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AppletProtectedThunk::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_AppletProtectedThunk::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_AppletProtectedThunk::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject * sipPlasma_AppletProtectedThunk::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_AppletProtectedThunk::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

bool sipPlasma_AppletProtectedThunk::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_AppletProtectedThunk::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_AppletProtectedThunk::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_AppletProtectedThunk::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

bool sipPlasma_AppletProtectedThunk::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtect_setFailedToLaunch(bool a0,const QString& a1)
{
    Plasma::Applet::setFailedToLaunch(a0,a1);
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_saveState(bool sipSelfWasArg,KConfigGroup& a0) const
{
    (sipSelfWasArg ? Plasma::Applet::saveState(a0) : saveState(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtect_setHasConfigurationInterface(bool a0)
{
    Plasma::Applet::setHasConfigurationInterface(a0);
}

void sipPlasma_AppletProtectedThunk::sipProtect_setConfigurationRequired(bool a0,const QString& a1)
{
    Plasma::Applet::setConfigurationRequired(a0,a1);
}

void sipPlasma_AppletProtectedThunk::sipProtect_showMessage(const QIcon& a0,const QString& a1,const Plasma::MessageButtons a2)
{
    Plasma::Applet::showMessage(a0,a1,a2);
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_constraintsEvent(bool sipSelfWasArg,Plasma::Constraints a0)
{
    (sipSelfWasArg ? Plasma::Applet::constraintsEvent(a0) : constraintsEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtect_registerAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::registerAsDragHandle(a0);
}

void sipPlasma_AppletProtectedThunk::sipProtect_unregisterAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::unregisterAsDragHandle(a0);
}

bool sipPlasma_AppletProtectedThunk::sipProtect_isRegisteredAsDragHandle(QGraphicsItem *a0)
{
    return Plasma::Applet::isRegisteredAsDragHandle(a0);
}

Plasma::Extender * sipPlasma_AppletProtectedThunk::sipProtect_extender() const
{
    return Plasma::Applet::extender();
}

bool sipPlasma_AppletProtectedThunk::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipPlasma_AppletProtectedThunk::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::resizeEvent(a0) : resizeEvent(a0));
}

QPainterPath sipPlasma_AppletProtectedThunk::sipProtectVirt_shape(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::Applet::shape() : shape());
}

QSizeF sipPlasma_AppletProtectedThunk::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? Plasma::Applet::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_AppletProtectedThunk::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::timerEvent(a0) : timerEvent(a0));
}

QVariant sipPlasma_AppletProtectedThunk::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? Plasma::Applet::itemChange(a0,a1) : itemChange(a0,a1));
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_setGraphicsItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_setOwnedByLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_inputMethodQuery, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_prepareGeometryChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 10714 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 10756 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_initStyleOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QStyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_initStyleOption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_updateGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_sceneEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_sceneEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_windowFrameEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_windowFrameEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_windowFrameSectionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QPointF, &a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_windowFrameSectionAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_moveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_polishEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_polishEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_hoverMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_grabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_grabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_ungrabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_ungrabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_grabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_grabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_ungrabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_ungrabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_setFailedToLaunch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_setFailedToLaunch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFailedToLaunch(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_setFailedToLaunch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_saveState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_saveState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_setHasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_setHasConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHasConfigurationInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_setHasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_showMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon * a0;
        const QString * a1;
        int a1State = 0;
        const Plasma::MessageButtons * a2;
        int a2State = 0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_showMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_constraintsEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_constraintsEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_constraintsEvent(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_constraintsEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_registerAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_registerAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_registerAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_registerAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_unregisterAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_unregisterAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_unregisterAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_unregisterAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_isRegisteredAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_isRegisteredAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_isRegisteredAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_extender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_extender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_extender();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Extender,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_extender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_sceneEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_shape(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(sipCpp->sipProtectVirt_shape(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J9", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_itemChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_AppletProtectedThunk *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Plasma_AppletProtectedThunk, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AppletProtectedThunk, sipName_itemChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_static_public_setHasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_static_public_setHasConfigurationInterface(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet * a0;
        bool a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8b", sipType_Plasma_Applet, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            Plasma::AppletProtectedThunk::static_public_setHasConfigurationInterface(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_AppletProtectedThunk, sipName_static_public_setHasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AppletProtectedThunk_static_public_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AppletProtectedThunk_static_public_setConfigurationRequired(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet * a0;
        bool a1;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8b|J1", sipType_Plasma_Applet, &a0, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            Plasma::AppletProtectedThunk::static_public_setConfigurationRequired(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            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_AppletProtectedThunk, sipName_static_public_setConfigurationRequired, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AppletProtectedThunk(void *, const sipTypeDef *);}
static void *cast_Plasma_AppletProtectedThunk(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AppletProtectedThunk)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Plasma_Applet)->ctd_cast((Plasma::Applet *)(Plasma::AppletProtectedThunk *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AppletProtectedThunk(void *, int);}
static void release_Plasma_AppletProtectedThunk(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AppletProtectedThunk *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AppletProtectedThunk *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AppletProtectedThunk(sipSimpleWrapper *);}
static void dealloc_Plasma_AppletProtectedThunk(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AppletProtectedThunk *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AppletProtectedThunk(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_AppletProtectedThunk(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_AppletProtectedThunk(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipPlasma_AppletProtectedThunk *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AppletProtectedThunk();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AppletProtectedThunk[] = {{21, 255, 1}};


static PyMethodDef methods_Plasma_AppletProtectedThunk[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_AppletProtectedThunk_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_AppletProtectedThunk_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_AppletProtectedThunk_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_AppletProtectedThunk_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_AppletProtectedThunk_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_AppletProtectedThunk_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_AppletProtectedThunk_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_AppletProtectedThunk_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_AppletProtectedThunk_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_AppletProtectedThunk_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_AppletProtectedThunk_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_AppletProtectedThunk_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_AppletProtectedThunk_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_AppletProtectedThunk_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_AppletProtectedThunk_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_AppletProtectedThunk_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_AppletProtectedThunk_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_AppletProtectedThunk_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_AppletProtectedThunk_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_AppletProtectedThunk_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_AppletProtectedThunk_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_AppletProtectedThunk_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_AppletProtectedThunk_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_AppletProtectedThunk_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_AppletProtectedThunk_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_AppletProtectedThunk_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_AppletProtectedThunk_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_AppletProtectedThunk_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_AppletProtectedThunk_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_AppletProtectedThunk_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_AppletProtectedThunk_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_AppletProtectedThunk_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_AppletProtectedThunk_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_AppletProtectedThunk_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_AppletProtectedThunk_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_AppletProtectedThunk_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_AppletProtectedThunk_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_AppletProtectedThunk_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_AppletProtectedThunk_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_AppletProtectedThunk_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_AppletProtectedThunk_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_AppletProtectedThunk_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_AppletProtectedThunk_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_AppletProtectedThunk_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_AppletProtectedThunk_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_AppletProtectedThunk_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_AppletProtectedThunk_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_AppletProtectedThunk_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_AppletProtectedThunk_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_AppletProtectedThunk_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_AppletProtectedThunk_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_AppletProtectedThunk_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_AppletProtectedThunk_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_AppletProtectedThunk_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_static_public_setConfigurationRequired), meth_Plasma_AppletProtectedThunk_static_public_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_static_public_setHasConfigurationInterface), meth_Plasma_AppletProtectedThunk_static_public_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_AppletProtectedThunk_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_AppletProtectedThunk_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_AppletProtectedThunk_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_AppletProtectedThunk_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_AppletProtectedThunk_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Plasma_AppletProtectedThunk_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_AppletProtectedThunk_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_AppletProtectedThunk_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_AppletProtectedThunk_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AppletProtectedThunk = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AppletProtectedThunk,
        {0}
    },
    {
        sipNameNr_AppletProtectedThunk,
        {1, 255, 0},
        65, methods_Plasma_AppletProtectedThunk,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AppletProtectedThunk,
    0,
    init_Plasma_AppletProtectedThunk,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AppletProtectedThunk,
    0,
    0,
    0,
    release_Plasma_AppletProtectedThunk,
    cast_Plasma_AppletProtectedThunk,
    0,
    0,
    0
},
    &Plasma::AppletProtectedThunk::staticMetaObject,
    0,
    0
};

#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 12299 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 12303 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static int slot_Plasma_Applet_BackgroundHints___bool__(PyObject *);}
static int slot_Plasma_Applet_BackgroundHints___bool__(PyObject *sipSelf)
{
    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 12321 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 12351 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(const_cast<Plasma::Applet::BackgroundHints *>(a0),sipType_Plasma_Applet_BackgroundHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_Applet_BackgroundHints,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 12387 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(const_cast<Plasma::Applet::BackgroundHints *>(a0),sipType_Plasma_Applet_BackgroundHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_Applet_BackgroundHints,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___invert__(PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___invert__(PyObject *sipSelf)
{
    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Applet::BackgroundHints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Applet::BackgroundHints(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___and__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State, &a1))
        {
            Plasma::Applet::BackgroundHints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Applet::BackgroundHints((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;
        Plasma::Applet::BackgroundHints * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State, sipType_Plasma_Applet_BackgroundHints, &a1, &a1State))
        {
            Plasma::Applet::BackgroundHints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Applet::BackgroundHints((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);
            sipReleaseType(a1,sipType_Plasma_Applet_BackgroundHints,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State, &a1))
        {
            Plasma::Applet::BackgroundHints *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::Applet::BackgroundHints(*a0 ^ a1);
#line 12496 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;
        Plasma::Applet::BackgroundHints * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State, sipType_Plasma_Applet_BackgroundHints, &a1, &a1State))
        {
            Plasma::Applet::BackgroundHints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Applet::BackgroundHints((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);
            sipReleaseType(a1,sipType_Plasma_Applet_BackgroundHints,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State, &a1))
        {
            Plasma::Applet::BackgroundHints *sipRes = 0;

#line 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::Applet::BackgroundHints(*a0 | a1);
#line 12548 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___int__(PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___int__(PyObject *sipSelf)
{
    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Applet_BackgroundHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Applet::BackgroundHints::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___ior__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Applet_BackgroundHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Applet::BackgroundHints::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Applet_BackgroundHints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Applet_BackgroundHints___iand__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Applet_BackgroundHints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Applet_BackgroundHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Applet::BackgroundHints *sipCpp = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Applet_BackgroundHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Applet::BackgroundHints::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Applet_BackgroundHints(void *, const sipTypeDef *);}
static void *cast_Plasma_Applet_BackgroundHints(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Applet_BackgroundHints)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Applet_BackgroundHints(void *, int);}
static void release_Plasma_Applet_BackgroundHints(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Applet_BackgroundHints(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Applet_BackgroundHints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::Applet::BackgroundHints *>(sipSrc);
}


extern "C" {static void *array_Plasma_Applet_BackgroundHints(SIP_SSIZE_T);}
static void *array_Plasma_Applet_BackgroundHints(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::Applet::BackgroundHints[sipNrElem];
}


extern "C" {static void *copy_Plasma_Applet_BackgroundHints(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Applet_BackgroundHints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::Applet::BackgroundHints(reinterpret_cast<const Plasma::Applet::BackgroundHints *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_Applet_BackgroundHints(sipSimpleWrapper *);}
static void dealloc_Plasma_Applet_BackgroundHints(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Applet_BackgroundHints(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_Applet_BackgroundHints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Applet_BackgroundHints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::Applet::BackgroundHints *sipCpp = 0;

    {
        const Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_Applet_BackgroundHints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Applet::BackgroundHints(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::Applet::BackgroundHints *>(a0),sipType_Plasma_Applet_BackgroundHints,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Applet::BackgroundHints(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Applet::BackgroundHints();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_Applet_BackgroundHints(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Applet_BackgroundHints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::Applet::BackgroundHints **sipCppPtr = reinterpret_cast<Plasma::Applet::BackgroundHints **>(sipCppPtrV);

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Applet::BackgroundHints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Applet_BackgroundHint)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Applet_BackgroundHints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Applet_BackgroundHint)))
{
    *sipCppPtr = new Plasma::Applet::BackgroundHints(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Applet::BackgroundHints *>(sipConvertToType(sipPy, sipType_Plasma_Applet_BackgroundHints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 12843 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Applet_BackgroundHints[] = {
    {(void *)slot_Plasma_Applet_BackgroundHints___bool__, bool_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___ne__, ne_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___eq__, eq_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___invert__, invert_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___and__, and_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___xor__, xor_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___or__, or_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___int__, int_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___ixor__, ixor_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___ior__, ior_slot},
    {(void *)slot_Plasma_Applet_BackgroundHints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Applet_BackgroundHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Applet__BackgroundHints,
        {0}
    },
    {
        sipNameNr_BackgroundHints,
        {21, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_Applet_BackgroundHints,
    init_Plasma_Applet_BackgroundHints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Applet_BackgroundHints,
    assign_Plasma_Applet_BackgroundHints,
    array_Plasma_Applet_BackgroundHints,
    copy_Plasma_Applet_BackgroundHints,
    release_Plasma_Applet_BackgroundHints,
    cast_Plasma_Applet_BackgroundHints,
    convertTo_Plasma_Applet_BackgroundHints,
    0,
    0
},
    0,
    1,
    0
};

#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 12916 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 12920 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12923 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12926 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12929 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12932 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12935 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 12938 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12941 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12944 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12947 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 12950 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12953 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12956 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 103 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 12959 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12962 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 12965 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 223 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12968 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 12971 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 53 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 12974 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12977 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 12980 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 12983 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 12986 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12989 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 12992 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 12995 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 12998 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 13001 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 13004 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 13007 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13010 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13013 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 1755 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 13016 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 13019 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13022 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 13025 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13028 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 13031 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 13034 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 164 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 13037 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 13040 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 13043 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 13046 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 13049 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 13052 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13055 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 244 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 13058 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13061 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13064 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 97 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13067 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 13070 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 13073 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 13076 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13079 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 13082 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 13085 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 13088 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13091 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13094 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13097 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13109 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13112 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13115 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13118 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 13121 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 13124 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 1030 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 13127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 13130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 13133 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 13139 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13142 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13145 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 193 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 13148 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 110 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 13151 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 343 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 13154 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 13157 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13160 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 13163 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 13166 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 995 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 13169 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 13172 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 13175 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 13178 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_Applet : public Plasma::Applet
{
public:
    sipPlasma_Applet(QGraphicsItem *,const QString&,uint);
    sipPlasma_Applet(QGraphicsItem *,const QString&,uint,const QVariantList&);
    sipPlasma_Applet(QObject *,const QVariantList&);
    sipPlasma_Applet(const KPluginInfo&,QGraphicsItem *,uint);
    virtual ~sipPlasma_Applet();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_updateMicroFocus();
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtect_setFailedToLaunch(bool,const QString&);
    void sipProtectVirt_saveState(bool,KConfigGroup&) const;
    void sipProtect_setHasConfigurationInterface(bool);
    void sipProtect_setConfigurationRequired(bool,const QString&);
    void sipProtect_showMessage(const QIcon&,const QString&,const Plasma::MessageButtons);
    void sipProtectVirt_constraintsEvent(bool,Plasma::Constraints);
    void sipProtect_registerAsDragHandle(QGraphicsItem *);
    void sipProtect_unregisterAsDragHandle(QGraphicsItem *);
    bool sipProtect_isRegisteredAsDragHandle(QGraphicsItem *);
    Plasma::Extender * sipProtect_extender() const;
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    QPainterPath sipProtectVirt_shape(bool) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void save(KConfigGroup&) const;
    void restore(KConfigGroup&);
    Plasma::FormFactor formFactor() const;
    Plasma::Location location() const;
    void paintInterface(QPainter *,const QStyleOptionGraphicsItem *,const QRect&);
    QList<QAction *> contextualActions();
    bool isPopupShowing() const;
    void addAssociatedWidget(QWidget *);
    void removeAssociatedWidget(QWidget *);
    void initExtenderItem(Plasma::ExtenderItem *);
    void createConfigurationInterface(KConfigDialog *);
    void destroy();
    void showConfigurationInterface();
    void init();
    void configChanged();
    void saveState(KConfigGroup&) const;
    void constraintsEvent(Plasma::Constraints);
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool event(QEvent *);
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void focusInEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent *);
    void hideEvent(QHideEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void showEvent(QShowEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    bool sceneEventFilter(QGraphicsItem *,QEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Applet(const sipPlasma_Applet &);
    sipPlasma_Applet &operator = (const sipPlasma_Applet &);

    char sipPyMethods[76];
};

sipPlasma_Applet::sipPlasma_Applet(QGraphicsItem *a0,const QString& a1,uint a2): Plasma::Applet(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Applet::sipPlasma_Applet(QGraphicsItem *a0,const QString& a1,uint a2,const QVariantList& a3): Plasma::Applet(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Applet::sipPlasma_Applet(QObject *a0,const QVariantList& a1): Plasma::Applet(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Applet::sipPlasma_Applet(const KPluginInfo& a0,QGraphicsItem *a1,uint a2): Plasma::Applet(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Applet::~sipPlasma_Applet()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Applet::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Applet);
}

int sipPlasma_Applet::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Applet::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Applet,_c,_id,_a);

    return _id;
}

void *sipPlasma_Applet::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Applet,_clname)) ? this : Plasma::Applet::qt_metacast(_clname);
}

void sipPlasma_Applet::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::Applet::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_restore);

    if (!sipMeth)
    {
        Plasma::Applet::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

Plasma::FormFactor sipPlasma_Applet::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_formFactor);

    if (!sipMeth)
        return Plasma::Applet::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t,PyObject *);

    return sipVH_plasma_27(sipGILState,sipMeth);
}

Plasma::Location sipPlasma_Applet::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_location);

    if (!sipMeth)
        return Plasma::Applet::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t,PyObject *);

    return sipVH_plasma_26(sipGILState,sipMeth);
}

void sipPlasma_Applet::paintInterface(QPainter *a0,const QStyleOptionGraphicsItem *a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paintInterface);

    if (!sipMeth)
    {
        Plasma::Applet::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,const QRect&);

    sipVH_plasma_8(sipGILState,sipMeth,a0,a1,a2);
}

QList<QAction *> sipPlasma_Applet::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::Applet::contextualActions();

    typedef QList<QAction *> (*sipVH_QtGui_168)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState,sipMeth);
}

bool sipPlasma_Applet::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_isPopupShowing);

    if (!sipMeth)
        return Plasma::Applet::isPopupShowing();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::addAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_addAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::removeAssociatedWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::initExtenderItem(Plasma::ExtenderItem *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_initExtenderItem);

    if (!sipMeth)
    {
        Plasma::Applet::initExtenderItem(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t,PyObject *,Plasma::ExtenderItem *);

    sipVH_plasma_18(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::createConfigurationInterface(KConfigDialog *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::createConfigurationInterface(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t,PyObject *,KConfigDialog *);

    sipVH_plasma_25(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_destroy);

    if (!sipMeth)
    {
        Plasma::Applet::destroy();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::showConfigurationInterface();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::Applet::init();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_configChanged);

    if (!sipMeth)
    {
        Plasma::Applet::configChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        Plasma::Applet::saveState(a0);
        return;
    }

    typedef void (*sipVH_kdeui_67)(sip_gilstate_t,PyObject *,KConfigGroup&);

    ((sipVH_kdeui_67)(sipModuleAPI_plasma_kdeui->em_virthandlers[67]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_constraintsEvent);

    if (!sipMeth)
    {
        Plasma::Applet::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t,PyObject *,Plasma::Constraints);

    sipVH_plasma_7(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t,PyObject *,const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState,sipMeth,a0,a1,a2,a3);
}

int sipPlasma_Applet::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Applet::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,sipMeth,a0,a1,a2);
}

void sipPlasma_Applet::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Applet::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,sipMeth,a0,a1,a2);
}

QRectF sipPlasma_Applet::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,sipMeth);
}

QPainterPath sipPlasma_Applet::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return Plasma::Applet::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::initStyleOption(QStyleOption *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *,QStyleOption *);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,sipMeth,a0);
}

QSizeF sipPlasma_Applet::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Applet::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_Applet::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QVariant sipPlasma_Applet::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Applet::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_Applet::sceneEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::windowFrameEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

Qt::WindowFrameSection sipPlasma_Applet::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Applet::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGraphicsWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        Plasma::Applet::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::grabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::ungrabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::grabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::ungrabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Applet::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_Applet::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Applet::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsItem::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_Applet::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState,sipMeth,a0,a1);
}

bool sipPlasma_Applet::isObscuredBy(const QGraphicsItem *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsItem::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState,sipMeth,a0);
}

QPainterPath sipPlasma_Applet::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsItem::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,sipMeth);
}

void sipPlasma_Applet::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,sipMeth,a0);
}

QVariant sipPlasma_Applet::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsItem::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Applet::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Applet::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_Applet::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Applet::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_Applet::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_Applet::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_Applet::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_Applet::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_Applet::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

void sipPlasma_Applet::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject * sipPlasma_Applet::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_Applet::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_Applet::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_Applet::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_Applet::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

void sipPlasma_Applet::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_Applet::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

bool sipPlasma_Applet::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_Applet::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_Applet::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_Applet::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_Applet::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

bool sipPlasma_Applet::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_Applet::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_Applet::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_Applet::sipProtect_setFailedToLaunch(bool a0,const QString& a1)
{
    Plasma::Applet::setFailedToLaunch(a0,a1);
}

void sipPlasma_Applet::sipProtectVirt_saveState(bool sipSelfWasArg,KConfigGroup& a0) const
{
    (sipSelfWasArg ? Plasma::Applet::saveState(a0) : saveState(a0));
}

void sipPlasma_Applet::sipProtect_setHasConfigurationInterface(bool a0)
{
    Plasma::Applet::setHasConfigurationInterface(a0);
}

void sipPlasma_Applet::sipProtect_setConfigurationRequired(bool a0,const QString& a1)
{
    Plasma::Applet::setConfigurationRequired(a0,a1);
}

void sipPlasma_Applet::sipProtect_showMessage(const QIcon& a0,const QString& a1,const Plasma::MessageButtons a2)
{
    Plasma::Applet::showMessage(a0,a1,a2);
}

void sipPlasma_Applet::sipProtectVirt_constraintsEvent(bool sipSelfWasArg,Plasma::Constraints a0)
{
    (sipSelfWasArg ? Plasma::Applet::constraintsEvent(a0) : constraintsEvent(a0));
}

void sipPlasma_Applet::sipProtect_registerAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::registerAsDragHandle(a0);
}

void sipPlasma_Applet::sipProtect_unregisterAsDragHandle(QGraphicsItem *a0)
{
    Plasma::Applet::unregisterAsDragHandle(a0);
}

bool sipPlasma_Applet::sipProtect_isRegisteredAsDragHandle(QGraphicsItem *a0)
{
    return Plasma::Applet::isRegisteredAsDragHandle(a0);
}

Plasma::Extender * sipPlasma_Applet::sipProtect_extender() const
{
    return Plasma::Applet::extender();
}

bool sipPlasma_Applet::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipPlasma_Applet::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Plasma::Applet::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_Applet::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::resizeEvent(a0) : resizeEvent(a0));
}

QPainterPath sipPlasma_Applet::sipProtectVirt_shape(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? Plasma::Applet::shape() : shape());
}

QSizeF sipPlasma_Applet::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? Plasma::Applet::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_Applet::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_Applet::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? Plasma::Applet::timerEvent(a0) : timerEvent(a0));
}

QVariant sipPlasma_Applet::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? Plasma::Applet::itemChange(a0,a1) : itemChange(a0,a1));
}


extern "C" {static PyObject *meth_Plasma_Applet_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setGraphicsItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setOwnedByLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_inputMethodQuery, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_prepareGeometryChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 15488 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 15530 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_initStyleOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QStyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_initStyleOption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_updateGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_sceneEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_sceneEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_windowFrameEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_windowFrameEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_windowFrameSectionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QPointF, &a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_windowFrameSectionAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_moveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_polishEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_polishEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hoverMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_grabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_grabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_ungrabMouseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_ungrabMouseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_grabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_grabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_ungrabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_ungrabKeyboardEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_packageStructure(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_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::Applet::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_Applet, sipName_packageStructure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_id(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->id();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_config(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->config());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->config(*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_Applet, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_save(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::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_Applet, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_restore(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_restore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::restore(*a0) : 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_Applet, sipName_restore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_globalConfig(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_globalConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->globalConfig());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_globalConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_configScheme(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_configScheme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::ConfigLoader *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->configScheme();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_ConfigLoader,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_configScheme, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_dataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_package(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_package, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_view(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QGraphicsView *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGraphicsView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_view, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_mapFromView(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_mapFromView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView * a0;
        const QRect * a1;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsView, &a0, sipType_QRect, &a1))
        {
            QRectF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->mapFromView(a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_mapFromView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_mapToView(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_mapToView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView * a0;
        const QRectF * a1;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsView, &a0, sipType_QRectF, &a1))
        {
            QRect *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->mapToView(a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_mapToView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_popupPosition(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_popupPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QSize, &a0))
        {
            QPoint *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->popupPosition(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        const QSize * a0;
        Qt::AlignmentFlag a1;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QSize, &a0, sipType_Qt_AlignmentFlag, &a1))
        {
            QPoint *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->popupPosition(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_popupPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_updateConstraints(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_updateConstraints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Constraints a0def = Plasma::AllConstraints;
        Plasma::Constraints * a0 = &a0def;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateConstraints(*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_Applet, sipName_updateConstraints, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_formFactor(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_formFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::FormFactor sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Applet::formFactor() : sipCpp->formFactor());
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_FormFactor);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_formFactor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_location(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_location(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::Location sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Applet::location() : sipCpp->location());
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Location);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_location, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_context(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_context(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::Context *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->context();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Context,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_context, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_aspectRatioMode(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_aspectRatioMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::AspectRatioMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->aspectRatioMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_AspectRatioMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_aspectRatioMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setAspectRatioMode(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setAspectRatioMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AspectRatioMode a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_AspectRatioMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAspectRatioMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setAspectRatioMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_listAppletInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_listAppletInfo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Applet::listAppletInfo(*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_Applet, sipName_listAppletInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_listAppletInfoForMimetype(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_listAppletInfoForMimetype(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Applet::listAppletInfoForMimetype(*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_Applet, sipName_listAppletInfoForMimetype, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_listCategories(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_listCategories(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1b", sipType_QString,&a0, &a0State, &a1))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::Applet::listCategories(*a0,a1));
            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_Applet, sipName_listCategories, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setCustomCategories(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setCustomCategories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomCategories(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setCustomCategories, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_customCategories(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_customCategories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->customCategories());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_customCategories, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_loadPlasmoid(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_loadPlasmoid(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        uint a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|uJ1", sipType_QString,&a0, &a0State, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Applet::loadPlasmoid(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_Applet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_loadPlasmoid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_load(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_load(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        uint a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|uJ1", sipType_QString,&a0, &a0State, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Applet::load(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_Applet,NULL);
        }
    }

    {
        const KPluginInfo * a0;
        uint a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|uJ1", sipType_KPluginInfo, &a0, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Applet::load(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_Applet,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_category(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_category(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPluginInfo * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KPluginInfo, &a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Plasma::Applet::category(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Plasma::Applet::category(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->category());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_category, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_paintInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_paintInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        const QRect * a2;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QRect, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::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_Applet, sipName_paintInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_font(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QFont *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->font());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_font, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_pluginName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_pluginName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_pluginName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_shouldConserveResources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_shouldConserveResources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->shouldConserveResources();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_shouldConserveResources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_immutability(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_immutability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::ImmutabilityType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->immutability();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_ImmutabilityType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_immutability, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_paintWindowFrame(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_paintWindowFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        QWidget * a2;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::paintWindowFrame(a0,a1,a2) : sipCpp->paintWindowFrame(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_Applet, sipName_paintWindowFrame, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hasFailedToLaunch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hasFailedToLaunch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasFailedToLaunch();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hasFailedToLaunch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_isBusy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_isBusy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isBusy();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_isBusy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_configurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_configurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_configurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hasConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasConfigurationInterface();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_contextualActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_contextualActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QList<QAction *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction *>((sipSelfWasArg ? sipCpp->Plasma::Applet::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_Applet, sipName_contextualActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_action, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_addAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString * a0;
        int a0State = 0;
        QAction * a1;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setBackgroundHints(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setBackgroundHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Plasma::Applet::BackgroundHints * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_Applet_BackgroundHints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBackgroundHints(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::Applet::BackgroundHints *>(a0),sipType_Plasma_Applet_BackgroundHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setBackgroundHints, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_backgroundHints(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_backgroundHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::Applet::BackgroundHints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Applet::BackgroundHints(sipCpp->backgroundHints());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_Applet_BackgroundHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_backgroundHints, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_isContainment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_isContainment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isContainment();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_isContainment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_screenRect(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_screenRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QRect *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->screenRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_screenRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_type(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Applet::type() : sipCpp->type());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_type, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_containment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_containment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &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_Applet, sipName_containment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setGlobalShortcut(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setGlobalShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KShortcut, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGlobalShortcut(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setGlobalShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_globalShortcut(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_globalShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(sipCpp->globalShortcut());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_globalShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_isPopupShowing(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_isPopupShowing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Applet::isPopupShowing() : sipCpp->isPopupShowing());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_isPopupShowing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_addAssociatedWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_addAssociatedWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::addAssociatedWidget(a0) : sipCpp->addAssociatedWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_addAssociatedWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_removeAssociatedWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_removeAssociatedWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::removeAssociatedWidget(a0) : sipCpp->removeAssociatedWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_removeAssociatedWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_initExtenderItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_initExtenderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::ExtenderItem * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_ExtenderItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::initExtenderItem(a0) : sipCpp->initExtenderItem(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_initExtenderItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_destroyed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_destroyed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->destroyed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_destroyed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_createConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_createConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigDialog * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KConfigDialog, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::createConfigurationInterface(a0) : sipCpp->createConfigurationInterface(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_createConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setImmutability(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setImmutability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ImmutabilityType a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_ImmutabilityType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImmutability(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setImmutability, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_destroy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_destroy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::destroy() : sipCpp->destroy());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_destroy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_showConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_showConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::showConfigurationInterface() : sipCpp->showConfigurationInterface());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showConfigurationInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_showConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_raise_(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_raise_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->raise();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_raise_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_lower(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_lower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->lower();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_lower, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_flushPendingConstraintsEvents(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_flushPendingConstraintsEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->flushPendingConstraintsEvents();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_flushPendingConstraintsEvents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_init(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_init(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::init() : sipCpp->init());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_init, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_configChanged(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_configChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::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_Applet, sipName_configChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setBusy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setBusy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBusy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setBusy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_startupArguments(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_startupArguments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QVariantList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariantList(sipCpp->startupArguments());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_startupArguments, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setFailedToLaunch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setFailedToLaunch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFailedToLaunch(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setFailedToLaunch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_saveState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_saveState(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_saveState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setHasConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setHasConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHasConfigurationInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setHasConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_showMessage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon * a0;
        const QString * a1;
        int a1State = 0;
        const Plasma::MessageButtons * a2;
        int a2State = 0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_showMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_constraintsEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_constraintsEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_constraintsEvent(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_constraintsEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_registerAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_registerAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_registerAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_registerAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_unregisterAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_unregisterAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_unregisterAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_unregisterAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_isRegisteredAsDragHandle(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_isRegisteredAsDragHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_isRegisteredAsDragHandle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_extender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_extender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::Extender *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_extender();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Extender,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_extender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_sceneEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_shape(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(sipCpp->sipProtectVirt_shape(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hoverEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hoverLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hasAuthorization(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hasAuthorization(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAuthorization(*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_Applet, sipName_hasAuthorization, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_itemChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_itemChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_listAppletInfoForUrl(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_listAppletInfoForUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QUrl, &a0))
        {
            KPluginInfo::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPluginInfo::List(Plasma::Applet::listAppletInfoForUrl(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_listAppletInfoForUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setAssociatedApplication(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setAssociatedApplication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAssociatedApplication(*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_Applet, sipName_setAssociatedApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setAssociatedApplicationUrls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setAssociatedApplicationUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List * a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KUrl_List, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAssociatedApplicationUrls(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setAssociatedApplicationUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_associatedApplication(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_associatedApplication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->associatedApplication());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_associatedApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_associatedApplicationUrls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_associatedApplicationUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->associatedApplicationUrls());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_associatedApplicationUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_hasValidAssociatedApplication(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_hasValidAssociatedApplication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasValidAssociatedApplication();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_hasValidAssociatedApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_status(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::ItemStatus sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_ItemStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_status, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_setStatus(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_setStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ItemStatus a0;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_ItemStatus, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStatus(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_setStatus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_unpublish(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_unpublish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unpublish();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_unpublish, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_isPublished(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_isPublished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPublished();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_isPublished, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_runAssociatedApplication(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_runAssociatedApplication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->runAssociatedApplication();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_runAssociatedApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Applet_isUserConfiguring(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_isUserConfiguring(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUserConfiguring();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Applet, sipName_isUserConfiguring, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Applet(void *, const sipTypeDef *);}
static void *cast_Plasma_Applet(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Applet)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::Applet *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Applet(void *, int);}
static void release_Plasma_Applet(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Applet *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Applet *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Applet(sipSimpleWrapper *);}
static void dealloc_Plasma_Applet(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Applet *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Applet(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_Applet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Applet(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Applet *sipCpp = 0;

    {
        QGraphicsItem * a0 = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        uint a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J8J1u", sipType_QGraphicsItem, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Applet(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QGraphicsItem * a0;
        const QString * a1;
        int a1State = 0;
        uint a2;
        const QVariantList * a3;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1uJ1", sipType_QGraphicsItem, &a0, sipType_QString,&a1, &a1State, &a2, sipType_QList_0100QVariant,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Applet(a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariantList *>(a3),sipType_QList_0100QVariant,a3State);

            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_Applet(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KPluginInfo * a0;
        QGraphicsItem * a1 = 0;
        uint a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J8u", sipType_KPluginInfo, &a0, sipType_QGraphicsItem, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Applet(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Applet[] = {{216, 2, 1}};


static PyMethodDef methods_Plasma_Applet[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_Applet_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_Plasma_Applet_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAssociatedWidget), meth_Plasma_Applet_addAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_aspectRatioMode), meth_Plasma_Applet_aspectRatioMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associatedApplication), meth_Plasma_Applet_associatedApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associatedApplicationUrls), meth_Plasma_Applet_associatedApplicationUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backgroundHints), meth_Plasma_Applet_backgroundHints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_category), meth_Plasma_Applet_category, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_Applet_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Applet_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_Applet_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_Applet_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configChanged), meth_Plasma_Applet_configChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configScheme), meth_Plasma_Applet_configScheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configurationRequired), meth_Plasma_Applet_configurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Applet_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_constraintsEvent), meth_Plasma_Applet_constraintsEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containment), meth_Plasma_Applet_containment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_context), meth_Plasma_Applet_context, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_Applet_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextualActions), meth_Plasma_Applet_contextualActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createConfigurationInterface), meth_Plasma_Applet_createConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customCategories), meth_Plasma_Applet_customCategories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Applet_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_Applet_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Plasma_Applet_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroyed), meth_Plasma_Applet_destroyed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Applet_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_Applet_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_Applet_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_Applet_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_Applet_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Applet_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_Applet_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_Applet_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flushPendingConstraintsEvents), meth_Plasma_Applet_flushPendingConstraintsEvents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_Applet_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_Applet_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_Applet_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_Plasma_Applet_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formFactor), meth_Plasma_Applet_formFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_globalConfig), meth_Plasma_Applet_globalConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_globalShortcut), meth_Plasma_Applet_globalShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_Applet_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_Applet_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasAuthorization), meth_Plasma_Applet_hasAuthorization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasConfigurationInterface), meth_Plasma_Applet_hasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasFailedToLaunch), meth_Plasma_Applet_hasFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasValidAssociatedApplication), meth_Plasma_Applet_hasValidAssociatedApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_Applet_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_Applet_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_Applet_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_Applet_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_Applet_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_Plasma_Applet_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_immutability), meth_Plasma_Applet_immutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_Applet_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initExtenderItem), meth_Plasma_Applet_initExtenderItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_Applet_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_Applet_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_Applet_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isBusy), meth_Plasma_Applet_isBusy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isContainment), meth_Plasma_Applet_isContainment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPopupShowing), meth_Plasma_Applet_isPopupShowing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPublished), meth_Plasma_Applet_isPublished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegisteredAsDragHandle), meth_Plasma_Applet_isRegisteredAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUserConfiguring), meth_Plasma_Applet_isUserConfiguring, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_Applet_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_Applet_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_Applet_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listAppletInfo), meth_Plasma_Applet_listAppletInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listAppletInfoForMimetype), meth_Plasma_Applet_listAppletInfoForMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listAppletInfoForUrl), meth_Plasma_Applet_listAppletInfoForUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listCategories), meth_Plasma_Applet_listCategories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Plasma_Applet_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadPlasmoid), meth_Plasma_Applet_loadPlasmoid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_location), meth_Plasma_Applet_location, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lower), meth_Plasma_Applet_lower, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapFromView), meth_Plasma_Applet_mapFromView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapToView), meth_Plasma_Applet_mapToView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_Applet_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Applet_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Applet_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_Applet_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_Applet_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_Applet_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_Applet_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_packageStructure), meth_Plasma_Applet_packageStructure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintInterface), meth_Plasma_Applet_paintInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintWindowFrame), meth_Plasma_Applet_paintWindowFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginName), meth_Plasma_Applet_pluginName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_Applet_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupPosition), meth_Plasma_Applet_popupPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_Applet_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_raise_), meth_Plasma_Applet_raise_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Applet_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerAsDragHandle), meth_Plasma_Applet_registerAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAssociatedWidget), meth_Plasma_Applet_removeAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Applet_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restore), meth_Plasma_Applet_restore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runAssociatedApplication), meth_Plasma_Applet_runAssociatedApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Plasma_Applet_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_Applet_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_Applet_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_Applet_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screenRect), meth_Plasma_Applet_screenRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_Applet_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAspectRatioMode), meth_Plasma_Applet_setAspectRatioMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAssociatedApplication), meth_Plasma_Applet_setAssociatedApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAssociatedApplicationUrls), meth_Plasma_Applet_setAssociatedApplicationUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackgroundHints), meth_Plasma_Applet_setBackgroundHints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBusy), meth_Plasma_Applet_setBusy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_Applet_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomCategories), meth_Plasma_Applet_setCustomCategories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFailedToLaunch), meth_Plasma_Applet_setFailedToLaunch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGlobalShortcut), meth_Plasma_Applet_setGlobalShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_Applet_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasConfigurationInterface), meth_Plasma_Applet_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImmutability), meth_Plasma_Applet_setImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_Applet_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStatus), meth_Plasma_Applet_setStatus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_Plasma_Applet_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldConserveResources), meth_Plasma_Applet_shouldConserveResources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showConfigurationInterface), meth_Plasma_Applet_showConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_Applet_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_Plasma_Applet_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Applet_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startupArguments), meth_Plasma_Applet_startupArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_status), meth_Plasma_Applet_status, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Applet_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Plasma_Applet_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_Applet_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_Applet_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unpublish), meth_Plasma_Applet_unpublish, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterAsDragHandle), meth_Plasma_Applet_unregisterAsDragHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateConstraints), meth_Plasma_Applet_updateConstraints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_Applet_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Plasma_Applet_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_Plasma_Applet_view, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_Applet_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_Applet_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_Applet_windowFrameSectionAt, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Applet[] = {
    {sipName_DefaultBackground, Plasma::Applet::DefaultBackground, 22},
    {sipName_NoBackground, Plasma::Applet::NoBackground, 22},
    {sipName_StandardBackground, Plasma::Applet::StandardBackground, 22},
    {sipName_TranslucentBackground, Plasma::Applet::TranslucentBackground, 22},
    {sipName_Type, Plasma::Applet::Type, -1},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_Applet[] = {
    {"immutabilityChanged(Plasma::ImmutabilityType)", 0, 0},
    {"newStatus(Plasma::ItemStatus)", 0, 0},
    {"extenderItemRestored(Plasma::ExtenderItem *)", 0, 0},
    {"appletDestroyed(Plasma::Applet *)", 0, 0},
    {"messageButtonPressed(Plasma::MessageButton)", 0, 0},
    {"activate()", 0, 0},
    {"configNeedsSaving()", 0, 0},
    {"sizeHintChanged(Qt::SizeHint)", 0, 0},
    {"appletTransformedItself()", 0, 0},
    {"appletTransformedByUser()", 0, 0},
    {"geometryChanged()", 0, 0},
    {"releaseVisualFocus()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Applet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Applet,
        {0}
    },
    {
        sipNameNr_Applet,
        {1, 255, 0},
        142, methods_Plasma_Applet,
        5, enummembers_Plasma_Applet,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Applet,
    0,
    init_Plasma_Applet,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Applet,
    0,
    0,
    0,
    release_Plasma_Applet,
    cast_Plasma_Applet,
    0,
    0,
    0
},
    &Plasma::Applet::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Applet
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 19480 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19484 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 19487 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19490 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 19493 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 19496 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 19499 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19502 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 19505 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 19508 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 19511 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19514 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19517 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19520 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19523 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19526 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19529 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19532 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19535 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19538 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19541 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static PyObject *meth_Plasma_Animator_self(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_self(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::Animator *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Animator::self();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Animator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_self, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_animateItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_animateItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        Plasma::Animator::Animation a1;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_Plasma_Animator, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Plasma_Animator_Animation, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->animateItem(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_animateItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopItemAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopItemAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopItemAnimation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_stopItemAnimation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_moveItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_moveItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        Plasma::Animator::Movement a1;
        const QPoint * a2;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EJ9", &sipSelf, sipType_Plasma_Animator, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Plasma_Animator_Movement, &a1, sipType_QPoint, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->moveItem(a0,a1,*a2);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_moveItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopItemMovement(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopItemMovement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopItemMovement(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_stopItemMovement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_customAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_customAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        Plasma::Animator::CurveShape a2;
        QObject * a3;
        const char * a4;
        PyObject *a4Keep;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiEJ8AA", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0, &a1, sipType_Plasma_Animator_CurveShape, &a2, sipType_QObject, &a3, &a4Keep, &a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->customAnimation(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            Py_DECREF(a4Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_customAnimation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopCustomAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopCustomAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopCustomAnimation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_stopCustomAnimation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_animateElement(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_animateElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem * a0;
        Plasma::Animator::Animation a1;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_Plasma_Animator, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Plasma_Animator_Animation, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->animateElement(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_animateElement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopElementAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopElementAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopElementAnimation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_stopElementAnimation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_setInitialPixmap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_setInitialPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QPixmap * a1;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0, sipType_QPixmap, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInitialPixmap(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_Animator, sipName_setInitialPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_currentPixmap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_currentPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animator, &sipCpp, &a0))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->currentPixmap(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_currentPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_isAnimating(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_isAnimating(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAnimating();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_isAnimating, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_registerScrollingManager(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_registerScrollingManager(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget * a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animator, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerScrollingManager(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_registerScrollingManager, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_unregisterScrollingManager(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_unregisterScrollingManager(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget * a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animator, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unregisterScrollingManager(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_unregisterScrollingManager, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_create(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_create(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::Animation *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::Animator::create(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_Animation,NULL);
        }
    }

    {
        Plasma::Animator::CurveShape a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Plasma_Animator_CurveShape, &a0))
        {
            QEasingCurve *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEasingCurve(Plasma::Animator::create(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QEasingCurve,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_create, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Animator(void *, const sipTypeDef *);}
static void *cast_Plasma_Animator(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Animator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::Animator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Animator(void *, int);}
static void release_Plasma_Animator(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Animator[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_Animator[] = {
    {SIP_MLNAME_CAST(sipName_animateElement), meth_Plasma_Animator_animateElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animateItem), meth_Plasma_Animator_animateItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Plasma_Animator_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentPixmap), meth_Plasma_Animator_currentPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customAnimation), meth_Plasma_Animator_customAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAnimating), meth_Plasma_Animator_isAnimating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveItem), meth_Plasma_Animator_moveItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerScrollingManager), meth_Plasma_Animator_registerScrollingManager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_Animator_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInitialPixmap), meth_Plasma_Animator_setInitialPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopCustomAnimation), meth_Plasma_Animator_stopCustomAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopElementAnimation), meth_Plasma_Animator_stopElementAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopItemAnimation), meth_Plasma_Animator_stopItemAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopItemMovement), meth_Plasma_Animator_stopItemMovement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterScrollingManager), meth_Plasma_Animator_unregisterScrollingManager, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Animator[] = {
    {sipName_ActivateAnimation, Plasma::Animator::ActivateAnimation, 17},
    {sipName_AppearAnimation, Plasma::Animator::AppearAnimation, 17},
    {sipName_DisappearAnimation, Plasma::Animator::DisappearAnimation, 17},
    {sipName_EaseInCurve, Plasma::Animator::EaseInCurve, 18},
    {sipName_EaseInOutCurve, Plasma::Animator::EaseInOutCurve, 18},
    {sipName_EaseOutCurve, Plasma::Animator::EaseOutCurve, 18},
    {sipName_FadeAnimation, Plasma::Animator::FadeAnimation, 17},
    {sipName_FastSlideInMovement, Plasma::Animator::FastSlideInMovement, 19},
    {sipName_FastSlideOutMovement, Plasma::Animator::FastSlideOutMovement, 19},
    {sipName_GeometryAnimation, Plasma::Animator::GeometryAnimation, 17},
    {sipName_GrowAnimation, Plasma::Animator::GrowAnimation, 17},
    {sipName_LastAnimation, Plasma::Animator::LastAnimation, 17},
    {sipName_LinearCurve, Plasma::Animator::LinearCurve, 18},
    {sipName_PendularCurve, Plasma::Animator::PendularCurve, 18},
    {sipName_PixmapTransitionAnimation, Plasma::Animator::PixmapTransitionAnimation, 17},
    {sipName_PulseAnimation, Plasma::Animator::PulseAnimation, 17},
    {sipName_RotationAnimation, Plasma::Animator::RotationAnimation, 17},
    {sipName_RotationStackedAnimation, Plasma::Animator::RotationStackedAnimation, 17},
    {sipName_SlideAnimation, Plasma::Animator::SlideAnimation, 17},
    {sipName_SlideInMovement, Plasma::Animator::SlideInMovement, 19},
    {sipName_SlideOutMovement, Plasma::Animator::SlideOutMovement, 19},
    {sipName_WaterAnimation, Plasma::Animator::WaterAnimation, 17},
    {sipName_ZoomAnimation, Plasma::Animator::ZoomAnimation, 17},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_Animator[] = {
    {"scrollStateChanged(QGraphicsWidget *,QAbstractAnimation::State,QAbstractAnimation::State)", 0, 0},
    {"customAnimationFinished(int)", 0, 0},
    {"elementAnimationFinished(int)", 0, 0},
    {"movementFinished(QGraphicsItem *)", 0, 0},
    {"animationFinished(QGraphicsItem *,Plasma::Animator::Animation)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Animator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Animator,
        {0}
    },
    {
        sipNameNr_Animator,
        {1, 255, 0},
        15, methods_Plasma_Animator,
        23, enummembers_Plasma_Animator,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Animator,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_Animator,
    cast_Plasma_Animator,
    0,
    0,
    0
},
    &Plasma::Animator::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Animator
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animationdriver.sip"
#include <plasma/animationdriver.h>
#line 20116 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20120 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 20123 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 20129 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 20132 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20135 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20138 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20144 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20150 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20153 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20156 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 20159 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20162 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20165 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20168 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_AnimationDriver : public Plasma::AnimationDriver
{
public:
    sipPlasma_AnimationDriver(QObject *);
    virtual ~sipPlasma_AnimationDriver();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int animationFps(Plasma::Animator::Animation) const;
    int movementAnimationFps(Plasma::Animator::Movement) const;
    int elementAnimationFps(Plasma::Animator::Animation) const;
    int animationDuration(Plasma::Animator::Animation) const;
    int movementAnimationDuration(Plasma::Animator::Movement) const;
    int elementAnimationDuration(Plasma::Animator::Animation) const;
    Plasma::Animator::CurveShape animationCurve(Plasma::Animator::Animation) const;
    Plasma::Animator::CurveShape movementAnimationCurve(Plasma::Animator::Movement) const;
    Plasma::Animator::CurveShape elementAnimationCurve(Plasma::Animator::Animation) const;
    QPixmap elementAppear(qreal,const QPixmap&);
    QPixmap elementDisappear(qreal,const QPixmap&);
    void itemAppear(qreal,QGraphicsItem *);
    void itemDisappear(qreal,QGraphicsItem *);
    void itemActivated(qreal,QGraphicsItem *);
    void itemSlideIn(qreal,QGraphicsItem *,const QPoint&,const QPoint&);
    void itemSlideOut(qreal,QGraphicsItem *,const QPoint&,const QPoint&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_AnimationDriver(const sipPlasma_AnimationDriver &);
    sipPlasma_AnimationDriver &operator = (const sipPlasma_AnimationDriver &);

    char sipPyMethods[23];
};

sipPlasma_AnimationDriver::sipPlasma_AnimationDriver(QObject *a0): Plasma::AnimationDriver(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AnimationDriver::~sipPlasma_AnimationDriver()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AnimationDriver::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AnimationDriver);
}

int sipPlasma_AnimationDriver::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AnimationDriver::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AnimationDriver,_c,_id,_a);

    return _id;
}

void *sipPlasma_AnimationDriver::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_AnimationDriver,_clname)) ? this : Plasma::AnimationDriver::qt_metacast(_clname);
}

int sipPlasma_AnimationDriver::animationFps(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_animationFps);

    if (!sipMeth)
        return Plasma::AnimationDriver::animationFps(a0);

    extern int sipVH_plasma_33(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState,sipMeth,a0);
}

int sipPlasma_AnimationDriver::movementAnimationFps(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_movementAnimationFps);

    if (!sipMeth)
        return Plasma::AnimationDriver::movementAnimationFps(a0);

    extern int sipVH_plasma_34(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    return sipVH_plasma_34(sipGILState,sipMeth,a0);
}

int sipPlasma_AnimationDriver::elementAnimationFps(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_elementAnimationFps);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAnimationFps(a0);

    extern int sipVH_plasma_33(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState,sipMeth,a0);
}

int sipPlasma_AnimationDriver::animationDuration(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_animationDuration);

    if (!sipMeth)
        return Plasma::AnimationDriver::animationDuration(a0);

    extern int sipVH_plasma_33(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState,sipMeth,a0);
}

int sipPlasma_AnimationDriver::movementAnimationDuration(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_movementAnimationDuration);

    if (!sipMeth)
        return Plasma::AnimationDriver::movementAnimationDuration(a0);

    extern int sipVH_plasma_34(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    return sipVH_plasma_34(sipGILState,sipMeth,a0);
}

int sipPlasma_AnimationDriver::elementAnimationDuration(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_elementAnimationDuration);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAnimationDuration(a0);

    extern int sipVH_plasma_33(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState,sipMeth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::animationCurve(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_animationCurve);

    if (!sipMeth)
        return Plasma::AnimationDriver::animationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_31(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_31(sipGILState,sipMeth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::movementAnimationCurve(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_movementAnimationCurve);

    if (!sipMeth)
        return Plasma::AnimationDriver::movementAnimationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_32(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    return sipVH_plasma_32(sipGILState,sipMeth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::elementAnimationCurve(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_elementAnimationCurve);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAnimationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_31(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_31(sipGILState,sipMeth,a0);
}

QPixmap sipPlasma_AnimationDriver::elementAppear(qreal a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_elementAppear);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAppear(a0,a1);

    extern QPixmap sipVH_plasma_30(sip_gilstate_t,PyObject *,double,const QPixmap&);

    return sipVH_plasma_30(sipGILState,sipMeth,a0,a1);
}

QPixmap sipPlasma_AnimationDriver::elementDisappear(qreal a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_elementDisappear);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementDisappear(a0,a1);

    extern QPixmap sipVH_plasma_30(sip_gilstate_t,PyObject *,double,const QPixmap&);

    return sipVH_plasma_30(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AnimationDriver::itemAppear(qreal a0,QGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_itemAppear);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemAppear(a0,a1);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sipVH_plasma_29(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AnimationDriver::itemDisappear(qreal a0,QGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_itemDisappear);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemDisappear(a0,a1);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sipVH_plasma_29(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AnimationDriver::itemActivated(qreal a0,QGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_itemActivated);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemActivated(a0,a1);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sipVH_plasma_29(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AnimationDriver::itemSlideIn(qreal a0,QGraphicsItem *a1,const QPoint& a2,const QPoint& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_itemSlideIn);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemSlideIn(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_28(sip_gilstate_t,PyObject *,double,QGraphicsItem *,const QPoint&,const QPoint&);

    sipVH_plasma_28(sipGILState,sipMeth,a0,a1,a2,a3);
}

void sipPlasma_AnimationDriver::itemSlideOut(qreal a0,QGraphicsItem *a1,const QPoint& a2,const QPoint& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_itemSlideOut);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemSlideOut(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_28(sip_gilstate_t,PyObject *,double,QGraphicsItem *,const QPoint&,const QPoint&);

    sipVH_plasma_28(sipGILState,sipMeth,a0,a1,a2,a3);
}

bool sipPlasma_AnimationDriver::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_AnimationDriver::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_AnimationDriver::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AnimationDriver::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AnimationDriver::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AnimationDriver::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_AnimationDriver::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipPlasma_AnimationDriver::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_AnimationDriver::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_AnimationDriver::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_AnimationDriver::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_AnimationDriver::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_AnimationDriver::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_AnimationDriver::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 20699 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 20741 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_animationFps(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_animationFps(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::animationFps(a0) : sipCpp->animationFps(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_animationFps, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_movementAnimationFps(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_movementAnimationFps(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Movement a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Movement, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::movementAnimationFps(a0) : sipCpp->movementAnimationFps(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_movementAnimationFps, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_elementAnimationFps(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_elementAnimationFps(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAnimationFps(a0) : sipCpp->elementAnimationFps(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_elementAnimationFps, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_animationDuration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_animationDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::animationDuration(a0) : sipCpp->animationDuration(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_animationDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_movementAnimationDuration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_movementAnimationDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Movement a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Movement, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::movementAnimationDuration(a0) : sipCpp->movementAnimationDuration(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_movementAnimationDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_elementAnimationDuration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_elementAnimationDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAnimationDuration(a0) : sipCpp->elementAnimationDuration(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_elementAnimationDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_animationCurve(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_animationCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            Plasma::Animator::CurveShape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::animationCurve(a0) : sipCpp->animationCurve(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Animator_CurveShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_animationCurve, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_movementAnimationCurve(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_movementAnimationCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Movement a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Movement, &a0))
        {
            Plasma::Animator::CurveShape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::movementAnimationCurve(a0) : sipCpp->movementAnimationCurve(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Animator_CurveShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_movementAnimationCurve, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_elementAnimationCurve(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_elementAnimationCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            Plasma::Animator::CurveShape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAnimationCurve(a0) : sipCpp->elementAnimationCurve(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Animator_CurveShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_elementAnimationCurve, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_elementAppear(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_elementAppear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        const QPixmap * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QPixmap, &a1))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAppear(a0,*a1) : sipCpp->elementAppear(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_elementAppear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_elementDisappear(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_elementDisappear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        const QPixmap * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QPixmap, &a1))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementDisappear(a0,*a1) : sipCpp->elementDisappear(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_elementDisappear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_itemAppear(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_itemAppear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        QGraphicsItem * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemAppear(a0,a1) : sipCpp->itemAppear(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_AnimationDriver, sipName_itemAppear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_itemDisappear(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_itemDisappear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        QGraphicsItem * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemDisappear(a0,a1) : sipCpp->itemDisappear(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_AnimationDriver, sipName_itemDisappear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_itemActivated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_itemActivated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        QGraphicsItem * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemActivated(a0,a1) : sipCpp->itemActivated(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_AnimationDriver, sipName_itemActivated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_itemSlideIn(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_itemSlideIn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        QGraphicsItem * a1;
        const QPoint * a2;
        const QPoint * a3;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8J9J9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1, sipType_QPoint, &a2, sipType_QPoint, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemSlideIn(a0,a1,*a2,*a3) : sipCpp->itemSlideIn(a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_itemSlideIn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AnimationDriver_itemSlideOut(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AnimationDriver_itemSlideOut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        QGraphicsItem * a1;
        const QPoint * a2;
        const QPoint * a3;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8J9J9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1, sipType_QPoint, &a2, sipType_QPoint, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemSlideOut(a0,a1,*a2,*a3) : sipCpp->itemSlideOut(a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AnimationDriver, sipName_itemSlideOut, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AnimationDriver(void *, const sipTypeDef *);}
static void *cast_Plasma_AnimationDriver(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AnimationDriver)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AnimationDriver *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AnimationDriver(void *, int);}
static void release_Plasma_AnimationDriver(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AnimationDriver *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AnimationDriver *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AnimationDriver(sipSimpleWrapper *);}
static void dealloc_Plasma_AnimationDriver(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AnimationDriver *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AnimationDriver(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_AnimationDriver(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_AnimationDriver(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_AnimationDriver *sipCpp = 0;

    {
        QObject * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AnimationDriver(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AnimationDriver[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_AnimationDriver[] = {
    {SIP_MLNAME_CAST(sipName_animationCurve), meth_Plasma_AnimationDriver_animationCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animationDuration), meth_Plasma_AnimationDriver_animationDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animationFps), meth_Plasma_AnimationDriver_animationFps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_AnimationDriver_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_AnimationDriver_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_AnimationDriver_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_AnimationDriver_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAnimationCurve), meth_Plasma_AnimationDriver_elementAnimationCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAnimationDuration), meth_Plasma_AnimationDriver_elementAnimationDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAnimationFps), meth_Plasma_AnimationDriver_elementAnimationFps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAppear), meth_Plasma_AnimationDriver_elementAppear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementDisappear), meth_Plasma_AnimationDriver_elementDisappear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemActivated), meth_Plasma_AnimationDriver_itemActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAppear), meth_Plasma_AnimationDriver_itemAppear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemDisappear), meth_Plasma_AnimationDriver_itemDisappear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemSlideIn), meth_Plasma_AnimationDriver_itemSlideIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemSlideOut), meth_Plasma_AnimationDriver_itemSlideOut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movementAnimationCurve), meth_Plasma_AnimationDriver_movementAnimationCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movementAnimationDuration), meth_Plasma_AnimationDriver_movementAnimationDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movementAnimationFps), meth_Plasma_AnimationDriver_movementAnimationFps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_AnimationDriver_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_AnimationDriver_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_AnimationDriver_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AnimationDriver = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AnimationDriver,
        {0}
    },
    {
        sipNameNr_AnimationDriver,
        {1, 255, 0},
        23, methods_Plasma_AnimationDriver,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AnimationDriver,
    0,
    init_Plasma_AnimationDriver,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AnimationDriver,
    0,
    0,
    0,
    release_Plasma_AnimationDriver,
    cast_Plasma_AnimationDriver,
    0,
    0,
    0
},
    &Plasma::AnimationDriver::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 21515 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 21519 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static int slot_Plasma_Animation_MovementDirection___bool__(PyObject *);}
static int slot_Plasma_Animation_MovementDirection___bool__(PyObject *sipSelf)
{
    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 21537 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Animation::MovementDirection * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State))
        {
            bool sipRes = 0;

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 21567 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(const_cast<Plasma::Animation::MovementDirection *>(a0),sipType_Plasma_Animation_MovementDirection,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_Animation_MovementDirection,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Animation::MovementDirection * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State))
        {
            bool sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 21603 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(const_cast<Plasma::Animation::MovementDirection *>(a0),sipType_Plasma_Animation_MovementDirection,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_Animation_MovementDirection,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___invert__(PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___invert__(PyObject *sipSelf)
{
    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Animation::MovementDirection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::MovementDirection(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_MovementDirection,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___and__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Animation_MovementDirection, &a0, &a0State, &a1))
        {
            Plasma::Animation::MovementDirection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::MovementDirection((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_MovementDirection,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;
        Plasma::Animation::MovementDirection * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State, sipType_Plasma_Animation_MovementDirection, &a1, &a1State))
        {
            Plasma::Animation::MovementDirection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::MovementDirection((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);
            sipReleaseType(a1,sipType_Plasma_Animation_MovementDirection,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_MovementDirection,NULL);
        }
    }

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Animation_MovementDirection, &a0, &a0State, &a1))
        {
            Plasma::Animation::MovementDirection *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::MovementDirection(*a0 ^ a1);
#line 21712 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_MovementDirection,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;
        Plasma::Animation::MovementDirection * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State, sipType_Plasma_Animation_MovementDirection, &a1, &a1State))
        {
            Plasma::Animation::MovementDirection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::MovementDirection((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);
            sipReleaseType(a1,sipType_Plasma_Animation_MovementDirection,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_MovementDirection,NULL);
        }
    }

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Animation_MovementDirection, &a0, &a0State, &a1))
        {
            Plasma::Animation::MovementDirection *sipRes = 0;

#line 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::MovementDirection(*a0 | a1);
#line 21764 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_MovementDirection,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___int__(PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___int__(PyObject *sipSelf)
{
    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Animation_MovementDirection)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Animation::MovementDirection::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___ior__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Animation_MovementDirection)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::MovementDirection * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Animation::MovementDirection::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_MovementDirection,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Animation_MovementDirection___iand__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_MovementDirection___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Animation_MovementDirection)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Animation::MovementDirection *sipCpp = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_MovementDirection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Animation::MovementDirection::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Animation_MovementDirection(void *, const sipTypeDef *);}
static void *cast_Plasma_Animation_MovementDirection(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Animation_MovementDirection)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Animation_MovementDirection(void *, int);}
static void release_Plasma_Animation_MovementDirection(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Animation::MovementDirection *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Animation_MovementDirection(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Animation_MovementDirection(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::Animation::MovementDirection *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::Animation::MovementDirection *>(sipSrc);
}


extern "C" {static void *array_Plasma_Animation_MovementDirection(SIP_SSIZE_T);}
static void *array_Plasma_Animation_MovementDirection(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::Animation::MovementDirection[sipNrElem];
}


extern "C" {static void *copy_Plasma_Animation_MovementDirection(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Animation_MovementDirection(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::Animation::MovementDirection(reinterpret_cast<const Plasma::Animation::MovementDirection *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_Animation_MovementDirection(sipSimpleWrapper *);}
static void dealloc_Plasma_Animation_MovementDirection(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Animation_MovementDirection(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_Animation_MovementDirection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Animation_MovementDirection(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::Animation::MovementDirection *sipCpp = 0;

    {
        const Plasma::Animation::MovementDirection * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_Animation_MovementDirection, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Animation::MovementDirection(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::Animation::MovementDirection *>(a0),sipType_Plasma_Animation_MovementDirection,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Animation::MovementDirection(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Animation::MovementDirection();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_Animation_MovementDirection(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Animation_MovementDirection(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::Animation::MovementDirection **sipCppPtr = reinterpret_cast<Plasma::Animation::MovementDirection **>(sipCppPtrV);

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Animation::MovementDirection is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Animation_MovementDirectionFlag)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Animation_MovementDirection, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Animation_MovementDirectionFlag)))
{
    *sipCppPtr = new Plasma::Animation::MovementDirection(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Animation::MovementDirection *>(sipConvertToType(sipPy, sipType_Plasma_Animation_MovementDirection, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 22059 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Animation_MovementDirection[] = {
    {(void *)slot_Plasma_Animation_MovementDirection___bool__, bool_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___ne__, ne_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___eq__, eq_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___invert__, invert_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___and__, and_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___xor__, xor_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___or__, or_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___int__, int_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___ixor__, ixor_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___ior__, ior_slot},
    {(void *)slot_Plasma_Animation_MovementDirection___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Animation_MovementDirection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Animation__MovementDirection,
        {0}
    },
    {
        sipNameNr_MovementDirection,
        {10, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_Animation_MovementDirection,
    init_Plasma_Animation_MovementDirection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Animation_MovementDirection,
    assign_Plasma_Animation_MovementDirection,
    array_Plasma_Animation_MovementDirection,
    copy_Plasma_Animation_MovementDirection,
    release_Plasma_Animation_MovementDirection,
    cast_Plasma_Animation_MovementDirection,
    convertTo_Plasma_Animation_MovementDirection,
    0,
    0
},
    0,
    1,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 22132 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 22136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static int slot_Plasma_Animation_Reference___bool__(PyObject *);}
static int slot_Plasma_Animation_Reference___bool__(PyObject *sipSelf)
{
    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 22154 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Animation::Reference * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_Reference, &a0, &a0State))
        {
            bool sipRes = 0;

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 22184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(const_cast<Plasma::Animation::Reference *>(a0),sipType_Plasma_Animation_Reference,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_Animation_Reference,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Animation::Reference * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_Reference, &a0, &a0State))
        {
            bool sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 22220 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(const_cast<Plasma::Animation::Reference *>(a0),sipType_Plasma_Animation_Reference,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_Animation_Reference,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___invert__(PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___invert__(PyObject *sipSelf)
{
    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Animation::Reference *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::Reference(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_Reference,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___and__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Animation_Reference, &a0, &a0State, &a1))
        {
            Plasma::Animation::Reference *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::Reference((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_Reference,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;
        Plasma::Animation::Reference * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Animation_Reference, &a0, &a0State, sipType_Plasma_Animation_Reference, &a1, &a1State))
        {
            Plasma::Animation::Reference *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::Reference((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);
            sipReleaseType(a1,sipType_Plasma_Animation_Reference,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_Reference,NULL);
        }
    }

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Animation_Reference, &a0, &a0State, &a1))
        {
            Plasma::Animation::Reference *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::Reference(*a0 ^ a1);
#line 22329 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_Reference,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;
        Plasma::Animation::Reference * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Animation_Reference, &a0, &a0State, sipType_Plasma_Animation_Reference, &a1, &a1State))
        {
            Plasma::Animation::Reference *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Animation::Reference((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);
            sipReleaseType(a1,sipType_Plasma_Animation_Reference,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_Reference,NULL);
        }
    }

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Animation_Reference, &a0, &a0State, &a1))
        {
            Plasma::Animation::Reference *sipRes = 0;

#line 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::Reference(*a0 | a1);
#line 22381 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Animation_Reference,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___int__(PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___int__(PyObject *sipSelf)
{
    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Animation_Reference)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_Reference, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Animation::Reference::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___ior__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Animation_Reference)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation::Reference * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Animation_Reference, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Animation::Reference::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Animation_Reference,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Animation_Reference___iand__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Animation_Reference___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Animation_Reference)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Animation::Reference *sipCpp = reinterpret_cast<Plasma::Animation::Reference *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Animation_Reference));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Animation::Reference::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Animation_Reference(void *, const sipTypeDef *);}
static void *cast_Plasma_Animation_Reference(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Animation_Reference)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Animation_Reference(void *, int);}
static void release_Plasma_Animation_Reference(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Animation::Reference *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Animation_Reference(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Animation_Reference(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::Animation::Reference *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::Animation::Reference *>(sipSrc);
}


extern "C" {static void *array_Plasma_Animation_Reference(SIP_SSIZE_T);}
static void *array_Plasma_Animation_Reference(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::Animation::Reference[sipNrElem];
}


extern "C" {static void *copy_Plasma_Animation_Reference(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Animation_Reference(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::Animation::Reference(reinterpret_cast<const Plasma::Animation::Reference *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_Animation_Reference(sipSimpleWrapper *);}
static void dealloc_Plasma_Animation_Reference(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Animation_Reference(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_Plasma_Animation_Reference(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Animation_Reference(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::Animation::Reference *sipCpp = 0;

    {
        const Plasma::Animation::Reference * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_Animation_Reference, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Animation::Reference(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::Animation::Reference *>(a0),sipType_Plasma_Animation_Reference,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Animation::Reference(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Animation::Reference();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_Animation_Reference(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Animation_Reference(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::Animation::Reference **sipCppPtr = reinterpret_cast<Plasma::Animation::Reference **>(sipCppPtrV);

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Animation::Reference is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Animation_ReferenceFlag)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Animation_Reference, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Animation_ReferenceFlag)))
{
    *sipCppPtr = new Plasma::Animation::Reference(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Animation::Reference *>(sipConvertToType(sipPy, sipType_Plasma_Animation_Reference, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 22676 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Animation_Reference[] = {
    {(void *)slot_Plasma_Animation_Reference___bool__, bool_slot},
    {(void *)slot_Plasma_Animation_Reference___ne__, ne_slot},
    {(void *)slot_Plasma_Animation_Reference___eq__, eq_slot},
    {(void *)slot_Plasma_Animation_Reference___invert__, invert_slot},
    {(void *)slot_Plasma_Animation_Reference___and__, and_slot},
    {(void *)slot_Plasma_Animation_Reference___xor__, xor_slot},
    {(void *)slot_Plasma_Animation_Reference___or__, or_slot},
    {(void *)slot_Plasma_Animation_Reference___int__, int_slot},
    {(void *)slot_Plasma_Animation_Reference___ixor__, ixor_slot},
    {(void *)slot_Plasma_Animation_Reference___ior__, ior_slot},
    {(void *)slot_Plasma_Animation_Reference___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Animation_Reference = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Animation__Reference,
        {0}
    },
    {
        sipNameNr_Reference,
        {10, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_Animation_Reference,
    init_Plasma_Animation_Reference,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Animation_Reference,
    assign_Plasma_Animation_Reference,
    array_Plasma_Animation_Reference,
    copy_Plasma_Animation_Reference,
    release_Plasma_Animation_Reference,
    cast_Plasma_Animation_Reference,
    convertTo_Plasma_Animation_Reference,
    0,
    0
},
    0,
    1,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 22749 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 22753 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 22756 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 22759 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 22762 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22765 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 22768 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22771 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22774 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22777 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 22780 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22783 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22786 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 22789 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 22792 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22795 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22798 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22801 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


class sipPlasma_Animation : public Plasma::Animation
{
public:
    sipPlasma_Animation(QObject *);
    virtual ~sipPlasma_Animation();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_updateState(bool,QAbstractAnimation::State,QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool,QAbstractAnimation::Direction);
    void sipProtectVirt_setDuration(bool,int);
    void sipProtectVirt_updateCurrentTime(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setDuration(int);
    void updateCurrentTime(int);
    int duration() const;
    bool event(QEvent *);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateDirection(QAbstractAnimation::Direction);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Animation(const sipPlasma_Animation &);
    sipPlasma_Animation &operator = (const sipPlasma_Animation &);

    char sipPyMethods[12];
};

sipPlasma_Animation::sipPlasma_Animation(QObject *a0): Plasma::Animation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Animation::~sipPlasma_Animation()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Animation::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Animation);
}

int sipPlasma_Animation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Animation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Animation,_c,_id,_a);

    return _id;
}

void *sipPlasma_Animation::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Animation,_clname)) ? this : Plasma::Animation::qt_metacast(_clname);
}

void sipPlasma_Animation::setDuration(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setDuration);

    if (!sipMeth)
    {
        Plasma::Animation::setDuration(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Animation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
        Plasma::Animation::updateCurrentTime(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

int sipPlasma_Animation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return Plasma::Animation::duration();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState,sipMeth);
}

bool sipPlasma_Animation::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractAnimation::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Animation::updateState(QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        QAbstractAnimation::updateState(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QAbstractAnimation::State,QAbstractAnimation::State);

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_Animation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
        QAbstractAnimation::updateDirection(a0);
        return;
    }

    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QAbstractAnimation::Direction);

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,sipMeth,a0);
}

bool sipPlasma_Animation::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipPlasma_Animation::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Animation::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Animation::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Animation::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipPlasma_Animation::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipPlasma_Animation::sipProtect_sender() const
{
    return QObject::sender();
}

int sipPlasma_Animation::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_Animation::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_Animation::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_Animation::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_Animation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_Animation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipPlasma_Animation::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QAbstractAnimation::event(a0) : event(a0));
}

void sipPlasma_Animation::sipProtectVirt_updateState(bool sipSelfWasArg,QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    (sipSelfWasArg ? QAbstractAnimation::updateState(a0,a1) : updateState(a0,a1));
}

void sipPlasma_Animation::sipProtectVirt_updateDirection(bool sipSelfWasArg,QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ? QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}

void sipPlasma_Animation::sipProtectVirt_setDuration(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? Plasma::Animation::setDuration(a0) : setDuration(a0));
}

void sipPlasma_Animation::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? Plasma::Animation::updateCurrentTime(a0) : updateCurrentTime(a0));
}


extern "C" {static PyObject *meth_Plasma_Animation_sender(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animation, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 23183 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 23225 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_updateState(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_updateState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractAnimation::State a0;
        QAbstractAnimation::State a1;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_updateState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_updateDirection(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_updateDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractAnimation::Direction a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_updateDirection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_duration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animation, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Animation::duration() : sipCpp->duration());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_duration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_setDuration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_setDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0 = 250;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDuration(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_setDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_updateCurrentTime(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_updateCurrentTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_setTargetWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_setTargetWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget * a0;
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_setTargetWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_targetWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_targetWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animation, &sipCpp))
        {
            QGraphicsWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->targetWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_targetWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_setEasingCurve(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_setEasingCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QEasingCurve * a0;
        int a0State = 0;
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QEasingCurve, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEasingCurve(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_setEasingCurve, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animation_easingCurve(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animation_easingCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animation, &sipCpp))
        {
            QEasingCurve *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEasingCurve(sipCpp->easingCurve());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QEasingCurve,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animation, sipName_easingCurve, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Animation(void *, const sipTypeDef *);}
static void *cast_Plasma_Animation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Animation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractAnimation)->ctd_cast((QAbstractAnimation *)(Plasma::Animation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Animation(void *, int);}
static void release_Plasma_Animation(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Animation *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Animation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Animation(sipSimpleWrapper *);}
static void dealloc_Plasma_Animation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Animation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Animation(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_Animation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Animation(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Animation *sipCpp = 0;

    {
        QObject * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Animation(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Animation[] = {{0, 0, 1}};


static PyMethodDef methods_Plasma_Animation[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Animation_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Animation_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Animation_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Animation_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_Plasma_Animation_duration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_easingCurve), meth_Plasma_Animation_easingCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Animation_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Animation_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_Plasma_Animation_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDuration), meth_Plasma_Animation_setDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEasingCurve), meth_Plasma_Animation_setEasingCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetWidget), meth_Plasma_Animation_setTargetWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetWidget), meth_Plasma_Animation_targetWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Animation_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), meth_Plasma_Animation_updateCurrentTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateDirection), meth_Plasma_Animation_updateDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateState), meth_Plasma_Animation_updateState, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Animation[] = {
    {sipName_Center, Plasma::Animation::Center, 14},
    {sipName_Down, Plasma::Animation::Down, 14},
    {sipName_Left, Plasma::Animation::Left, 14},
    {sipName_MoveAny, Plasma::Animation::MoveAny, 12},
    {sipName_MoveDown, Plasma::Animation::MoveDown, 12},
    {sipName_MoveLeft, Plasma::Animation::MoveLeft, 12},
    {sipName_MoveRight, Plasma::Animation::MoveRight, 12},
    {sipName_MoveUp, Plasma::Animation::MoveUp, 12},
    {sipName_Right, Plasma::Animation::Right, 14},
    {sipName_Up, Plasma::Animation::Up, 14},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Animation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Animation,
        {0}
    },
    {
        sipNameNr_Animation,
        {1, 255, 0},
        17, methods_Plasma_Animation,
        10, enummembers_Plasma_Animation,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Animation,
    0,
    init_Plasma_Animation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Animation,
    0,
    0,
    0,
    release_Plasma_Animation,
    cast_Plasma_Animation,
    0,
    0,
    0
},
    &Plasma::Animation::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/accessmanager.sip"
#include <plasma/accessmanager.h>
#line 23816 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 23820 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/accessappletjob.sip"
#include <plasma/accessappletjob.h>
#line 23823 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 23826 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 23829 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 23832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23835 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23838 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23841 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23844 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23847 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 23850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23853 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23856 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 23859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 23862 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23865 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23868 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23871 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/plasma/sipplasmapart6.cpp"


extern "C" {static PyObject *meth_Plasma_AccessManager_self(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AccessManager_self(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::AccessManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::AccessManager::self();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_AccessManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AccessManager, sipName_self, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AccessManager_accessRemoteApplet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AccessManager_accessRemoteApplet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl * a0;
        Plasma::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AccessManager, &sipCpp, sipType_KUrl, &a0))
        {
            Plasma::AccessAppletJob *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->accessRemoteApplet(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_AccessAppletJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AccessManager, sipName_accessRemoteApplet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AccessManager_remoteApplets(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AccessManager_remoteApplets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AccessManager, &sipCpp))
        {
            QList<Plasma::PackageMetadata> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::PackageMetadata>(sipCpp->remoteApplets());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100Plasma_PackageMetadata,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AccessManager, sipName_remoteApplets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AccessManager_supportedProtocols(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AccessManager_supportedProtocols(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::AccessManager::supportedProtocols());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_AccessManager, sipName_supportedProtocols, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AccessManager(void *, const sipTypeDef *);}
static void *cast_Plasma_AccessManager(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AccessManager)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AccessManager *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AccessManager(void *, int);}
static void release_Plasma_AccessManager(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AccessManager[] = {{134, 0, 1}};


static PyMethodDef methods_Plasma_AccessManager[] = {
    {SIP_MLNAME_CAST(sipName_accessRemoteApplet), meth_Plasma_AccessManager_accessRemoteApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remoteApplets), meth_Plasma_AccessManager_remoteApplets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_AccessManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedProtocols), meth_Plasma_AccessManager_supportedProtocols, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_AccessManager[] = {
    {"remoteAppletUnannounced(Plasma::PackageMetadata)", 0, 0},
    {"remoteAppletAnnounced(Plasma::PackageMetadata)", 0, 0},
    {"finished(Plasma::AccessAppletJob *)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AccessManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AccessManager,
        {0}
    },
    {
        sipNameNr_AccessManager,
        {1, 255, 0},
        4, methods_Plasma_AccessManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AccessManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_AccessManager,
    cast_Plasma_AccessManager,
    0,
    0,
    0
},
    &Plasma::AccessManager::staticMetaObject,
    0,
    pyqt4_signals_Plasma_AccessManager
};
