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

#include "sipAPIplasma.h"

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

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/abstracttoolbox.sip"
#include <plasma/abstracttoolbox.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 73 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/wallpaper.sip"
#include <plasma/wallpaper.h>
#line 76 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 79 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 82 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 88 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 94 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/corona.sip"
#include <plasma/corona.h>
#line 97 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    void constraintsEvent(Plasma::Constraints);
    void saveState(KConfigGroup&) const;
    void configChanged();
    void init();
    void showConfigurationInterface();
    void destroy();
    void createConfigurationInterface(KConfigDialog*);
    void initExtenderItem(Plasma::ExtenderItem*);
    void removeAssociatedWidget(QWidget*);
    void addAssociatedWidget(QWidget*);
    bool isPopupShowing() const;
    QList<QAction*> contextualActions();
    void paintInterface(QPainter*,const QStyleOptionGraphicsItem*,const QRect&);
    Plasma::Location location() const;
    Plasma::FormFactor formFactor() const;
    void restore(KConfigGroup&);
    void save(KConfigGroup&) const;
    void restoreContents(KConfigGroup&);
    void saveContents(KConfigGroup&) const;
    void showDropZone(const QPoint);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[84];
};

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(sipPySelf, sipType_Plasma_Containment, _clname)) ? this : Plasma::Containment::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QPainterPath sipPlasma_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::Containment::shape();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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


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;

    {
        const 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;

    {
        const 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;
        int a1State = 0;
        bool a2 = 1;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1b", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_Applet, &a0, sipType_QPointF, &a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addApplet(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);

            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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;
        int a0State = 0;
        const QPoint* a1;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showContextMenu(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_Containment_Type, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainmentType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        const Plasma::Containment *sipCpp;

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            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;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            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;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::dropEvent(a0) : sipCpp->dropEvent(a0));
            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;
        Plasma::Containment *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

    {
        const Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_Containment, &sipCpp))
        {
            const QGraphicsItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->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;
        Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Plasma::Containment::itemChange(a0,*a1) : sipCpp->itemChange(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Containment::dragLeaveEvent(a0) : sipCpp->dragLeaveEvent(a0));
            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;
        Plasma::Containment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Containment, &sipCpp, sipType_Plasma_AbstractToolBox, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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;

    {
        const Plasma::Containment *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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 multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Containment(void *, const sipTypeDef *);}
static void *cast_Plasma_Containment(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::Containment *sipCpp = reinterpret_cast<Plasma::Containment *>(sipCppV);

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_Containment(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_clearApplets), meth_Plasma_Containment_clearApplets, 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_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_desktop), meth_Plasma_Containment_desktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Plasma_Containment_destroy, 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_focusNextApplet), meth_Plasma_Containment_focusNextApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousApplet), meth_Plasma_Containment_focusPreviousApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_Containment_init, 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_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_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_openToolBox), meth_Plasma_Containment_openToolBox, 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_sceneEventFilter), meth_Plasma_Containment_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screen), meth_Plasma_Containment_screen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActivity), meth_Plasma_Containment_setActivity, 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_setFormFactor), meth_Plasma_Containment_setFormFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocation), meth_Plasma_Containment_setLocation, 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_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_toolBox), meth_Plasma_Containment_toolBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBoxItem), meth_Plasma_Containment_toolBoxItem, 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}
};

static sipEnumMemberDef enummembers_Plasma_Containment[] = {
    {sipName_CustomContainment, static_cast<int>(Plasma::Containment::CustomContainment), 47},
    {sipName_CustomPanelContainment, static_cast<int>(Plasma::Containment::CustomPanelContainment), 47},
    {sipName_DesktopContainment, static_cast<int>(Plasma::Containment::DesktopContainment), 47},
    {sipName_NoContainmentType, static_cast<int>(Plasma::Containment::NoContainmentType), 47},
    {sipName_PanelContainment, static_cast<int>(Plasma::Containment::PanelContainment), 47},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Containment[] = {
    {"contextChanged(Plasma::Context*)", 0, 0, 0},
    {"configureRequested(Plasma::Containment*)", 0, 0, 0},
    {"screenChanged(int,int,Plasma::Containment*)", 0, 0, 0},
    {"showAddWidgetsInterface(QPointF)", 0, 0, 0},
    {"addSiblingContainment(Plasma::Containment*)", 0, &methods_Plasma_Containment[3], 0},
    {"toolBoxVisibilityChanged(bool)", 0, 0, 0},
    {"toolBoxToggled()", 0, 0, 0},
    {"zoomRequested(Plasma::Containment*,Plasma::ZoomDirection)", 0, 0, 0},
    {"appletRemoved(Plasma::Applet*)", 0, 0, 0},
    {"appletAdded(Plasma::Applet*,QPointF)", 0, 0, 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},
        66, 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_type_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,
    0,
    0,
    0
},
    &Plasma::Containment::staticMetaObject,
    0,
    signals_Plasma_Containment,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 3900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 3907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 3913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 3916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 3928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 3931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 3934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 3937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 3943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 3946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 3949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 623 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 401 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 3964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void usrWriteConfig();
    void usrReadConfig();
    void usrSetDefaults();
    bool usrUseDefaults(bool);
    bool useDefaults(bool);
    void writeConfig();
    void readConfig();
    void setDefaults();

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(sipPySelf, sipType_Plasma_ConfigLoader, _clname)) ? this : Plasma::ConfigLoader::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipPlasma_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, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPlasma_ConfigLoader::usrReadConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::ConfigLoader::usrReadConfig();
        return;
    }

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

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

void sipPlasma_ConfigLoader::usrSetDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::ConfigLoader::usrSetDefaults();
        return;
    }

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

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

bool sipPlasma_ConfigLoader::usrUseDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::ConfigLoader::usrUseDefaults(a0);

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

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

bool sipPlasma_ConfigLoader::useDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::ConfigLoader::useDefaults(a0);

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

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

void sipPlasma_ConfigLoader::writeConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::ConfigLoader::writeConfig();
        return;
    }

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

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

void sipPlasma_ConfigLoader::readConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::ConfigLoader::readConfig();
        return;
    }

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

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

void sipPlasma_ConfigLoader::setDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::ConfigLoader::setDefaults();
        return;
    }

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

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


extern "C" {static PyObject *meth_Plasma_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;
        const 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;

    {
        const 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));

    {
        Plasma::ConfigLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_ConfigLoader, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::ConfigLoader::usrWriteConfig() : sipCpp->usrWriteConfig());
            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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_ConfigLoader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_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_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},
        6, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ConfigLoader::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/clientpinrequest.sip"
#include <plasma/clientpinrequest.h>
#line 4727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;

    {
        const 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;
}


/* 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[] = {{141, 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 signals. */
static const pyqt4QtSignal signals_Plasma_ClientPinRequest[] = {
    {"changed(Plasma::ClientPinRequest*)", 0, 0, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ClientPinRequest::staticMetaObject,
    0,
    signals_Plasma_ClientPinRequest,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/authorizationrule.sip"
#include <plasma/authorizationrule.h>
#line 4933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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[] = {{141, 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, static_cast<int>(Plasma::AuthorizationRule::AllServices), 33},
    {sipName_AllUsers, static_cast<int>(Plasma::AuthorizationRule::AllUsers), 33},
    {sipName_Allow, static_cast<int>(Plasma::AuthorizationRule::Allow), 32},
    {sipName_Default, static_cast<int>(Plasma::AuthorizationRule::Default), 33},
    {sipName_Deny, static_cast<int>(Plasma::AuthorizationRule::Deny), 32},
    {sipName_Persistent, static_cast<int>(Plasma::AuthorizationRule::Persistent), 31},
    {sipName_PinRequired, static_cast<int>(Plasma::AuthorizationRule::PinRequired), 32},
    {sipName_Transient, static_cast<int>(Plasma::AuthorizationRule::Transient), 31},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_AuthorizationRule[] = {
    {"changed(Plasma::AuthorizationRule*)", 0, 0, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::AuthorizationRule::staticMetaObject,
    0,
    signals_Plasma_AuthorizationRule,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/authorizationmanager.sip"
#include <plasma/authorizationmanager.h>
#line 5310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/authorizationinterface.sip"
#include <plasma/authorizationinterface.h>
#line 5314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


/* 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[] = {{141, 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, static_cast<int>(Plasma::AuthorizationManager::Custom), 29},
    {sipName_DenyAll, static_cast<int>(Plasma::AuthorizationManager::DenyAll), 29},
    {sipName_PinPairing, static_cast<int>(Plasma::AuthorizationManager::PinPairing), 29},
    {sipName_TrustedOnly, static_cast<int>(Plasma::AuthorizationManager::TrustedOnly), 29},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_AuthorizationManager[] = {
    {"readyForRemoteAccess()", 0, 0, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::AuthorizationManager::staticMetaObject,
    0,
    signals_Plasma_AuthorizationManager,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/authorizationinterface.sip"
#include <plasma/authorizationinterface.h>
#line 5522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/clientpinrequest.sip"
#include <plasma/clientpinrequest.h>
#line 5526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/authorizationrule.sip"
#include <plasma/authorizationrule.h>
#line 5529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 clientPinRequest(Plasma::ClientPinRequest&);
    void authorizationRequest(Plasma::AuthorizationRule&);

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::clientPinRequest(Plasma::ClientPinRequest& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_AuthorizationInterface,sipName_clientPinRequest);

    if (!sipMeth)
        return;

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::ClientPinRequest&);

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

void sipPlasma_AuthorizationInterface::authorizationRequest(Plasma::AuthorizationRule& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_AuthorizationInterface,sipName_authorizationRequest);

    if (!sipMeth)
        return;

    extern void sipVH_plasma_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::AuthorizationRule&);

    sipVH_plasma_24(sipGILState, 0, sipPySelf, 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;
}


/* 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_type_Plasma_AuthorizationInterface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5819 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 5822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 5825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5828 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 5834 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5837 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5843 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5846 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 5849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5855 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5861 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 5867 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 5870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5873 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5876 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 5882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 5885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 5888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 5909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 5918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 5924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 5927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 5930 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 5933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 5936 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5939 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5942 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5945 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5948 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 5960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 5972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5987 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5990 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5993 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5996 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5999 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6002 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 6005 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6008 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6011 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 6014 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 6017 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6020 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6023 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6026 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6029 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6032 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 6035 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 6038 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 6041 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6044 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6047 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6050 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 6053 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 6056 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 6059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    void constraintsEvent(Plasma::Constraints);
    void saveState(KConfigGroup&) const;
    void configChanged();
    void init();
    void showConfigurationInterface();
    void destroy();
    void createConfigurationInterface(KConfigDialog*);
    void initExtenderItem(Plasma::ExtenderItem*);
    void removeAssociatedWidget(QWidget*);
    void addAssociatedWidget(QWidget*);
    bool isPopupShowing() const;
    QList<QAction*> contextualActions();
    void paintInterface(QPainter*,const QStyleOptionGraphicsItem*,const QRect&);
    Plasma::Location location() const;
    Plasma::FormFactor formFactor() const;
    void restore(KConfigGroup&);
    void save(KConfigGroup&) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[81];
};

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(sipPySelf, sipType_Plasma_AppletProtectedThunk, _clname)) ? this : Plasma::AppletProtectedThunk::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipPlasma_AppletProtectedThunk::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_isPopupShowing);

    if (!sipMeth)
        return Plasma::AppletProtectedThunk::isPopupShowing();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QList<QAction*> sipPlasma_AppletProtectedThunk::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::AppletProtectedThunk::contextualActions();

    typedef QList<QAction*> (*sipVH_QtGui_168)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_AppletProtectedThunk::paintInterface(QPainter*a0,const QStyleOptionGraphicsItem*a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_paintInterface);

    if (!sipMeth)
    {
        Plasma::AppletProtectedThunk::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,const QRect&);

    sipVH_plasma_8(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Plasma::Location sipPlasma_AppletProtectedThunk::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_location);

    if (!sipMeth)
        return Plasma::AppletProtectedThunk::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth);
}

Plasma::FormFactor sipPlasma_AppletProtectedThunk::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,NULL,sipName_formFactor);

    if (!sipMeth)
        return Plasma::AppletProtectedThunk::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_AppletProtectedThunk::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_restore);

    if (!sipMeth)
    {
        Plasma::AppletProtectedThunk::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AppletProtectedThunk::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::AppletProtectedThunk::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_AppletProtectedThunk(void *, const sipTypeDef *);}
static void *cast_Plasma_AppletProtectedThunk(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::AppletProtectedThunk *sipCpp = reinterpret_cast<Plasma::AppletProtectedThunk *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AppletProtectedThunk(void *, int);}
static void release_Plasma_AppletProtectedThunk(void *sipCppV,int)
{
    Plasma::AppletProtectedThunk *sipCpp = reinterpret_cast<Plasma::AppletProtectedThunk *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_AppletProtectedThunk(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AppletProtectedThunk = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AppletProtectedThunk,
        {0}
    },
    {
        sipNameNr_AppletProtectedThunk,
        {1, 255, 0},
        2, 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_type_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,
    0,
    0,
    0
},
    &Plasma::AppletProtectedThunk::staticMetaObject,
    0,
    0
};

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 7672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 7676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Applet::BackgroundHints::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 7698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Applet::BackgroundHints::Int() != a0->operator Plasma::Applet::BackgroundHints::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 7732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Applet::BackgroundHints::Int() == a0->operator Plasma::Applet::BackgroundHints::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 7772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Applet::BackgroundHints(*a0 ^ a1);
#line 7881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Applet::BackgroundHints(*a0 | a1);
#line 7933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


/* 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_type_Plasma_Applet_BackgroundHints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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 398 "/usr/share/python3-sip/PyQt4/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(int(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 8217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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_type_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,
    0,
    convertTo_Plasma_Applet_BackgroundHints,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 8293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 8315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 8333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 8336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 8351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 8366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 8375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 8378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 8381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 8387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 8402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 8411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 8417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 8420 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/configloader.sip"
#include <plasma/configloader.h>
#line 8423 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 8426 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 8429 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8432 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8435 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8438 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8444 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 8447 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8450 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 8465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8477 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8480 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8483 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8492 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 8498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 8507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8525 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 8528 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 8531 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 8534 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8537 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8540 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8546 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 8549 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 8552 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    void constraintsEvent(Plasma::Constraints);
    void saveState(KConfigGroup&) const;
    void configChanged();
    void init();
    void showConfigurationInterface();
    void destroy();
    void createConfigurationInterface(KConfigDialog*);
    void initExtenderItem(Plasma::ExtenderItem*);
    void removeAssociatedWidget(QWidget*);
    void addAssociatedWidget(QWidget*);
    bool isPopupShowing() const;
    QList<QAction*> contextualActions();
    void paintInterface(QPainter*,const QStyleOptionGraphicsItem*,const QRect&);
    Plasma::Location location() const;
    Plasma::FormFactor formFactor() const;
    void restore(KConfigGroup&);
    void save(KConfigGroup&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Applet(const sipPlasma_Applet &);
    sipPlasma_Applet &operator = (const sipPlasma_Applet &);

    char sipPyMethods[81];
};

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(sipPySelf, sipType_Plasma_Applet, _clname)) ? this : Plasma::Applet::qt_metacast(_clname);
}

QSizeF sipPlasma_Applet::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return Plasma::Applet::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Applet::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::Applet::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return Plasma::Applet::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Applet::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::Applet::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Applet::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::Applet::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipPlasma_Applet::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return Plasma::Applet::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QVariant sipPlasma_Applet::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::Applet::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::Applet::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Applet::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::Applet::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::Applet::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::Applet::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Applet::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return Plasma::Applet::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QPainterPath sipPlasma_Applet::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return Plasma::Applet::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Applet::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return Plasma::Applet::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return Plasma::Applet::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Applet::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return Plasma::Applet::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Applet::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return Plasma::Applet::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPainterPath sipPlasma_Applet::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, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        Plasma::Applet::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Applet::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Applet::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Applet::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Applet::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Applet::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Applet::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Applet::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Applet::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        Plasma::Applet::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Applet::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        Plasma::Applet::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        Plasma::Applet::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_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, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        Plasma::Applet::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        Plasma::Applet::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        Plasma::Applet::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        Plasma::Applet::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return Plasma::Applet::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        Plasma::Applet::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        Plasma::Applet::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Applet::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipPlasma_Applet::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return Plasma::Applet::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return Plasma::Applet::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return Plasma::Applet::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        Plasma::Applet::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        Plasma::Applet::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QRectF sipPlasma_Applet::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return Plasma::Applet::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        Plasma::Applet::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Applet::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        Plasma::Applet::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_Applet::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        Plasma::Applet::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::constraintsEvent(Plasma::Constraints a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_constraintsEvent);

    if (!sipMeth)
    {
        Plasma::Applet::constraintsEvent(a0);
        return;
    }

    extern void sipVH_plasma_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Constraints);

    sipVH_plasma_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::saveState(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        Plasma::Applet::saveState(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::configChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_configChanged);

    if (!sipMeth)
    {
        Plasma::Applet::configChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::Applet::init();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::showConfigurationInterface()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_showConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::showConfigurationInterface();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::destroy()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_destroy);

    if (!sipMeth)
    {
        Plasma::Applet::destroy();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::createConfigurationInterface(KConfigDialog*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
    {
        Plasma::Applet::createConfigurationInterface(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigDialog*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::initExtenderItem(Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_initExtenderItem);

    if (!sipMeth)
    {
        Plasma::Applet::initExtenderItem(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::ExtenderItem*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::removeAssociatedWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_removeAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::removeAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::addAssociatedWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_addAssociatedWidget);

    if (!sipMeth)
    {
        Plasma::Applet::addAssociatedWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Applet::isPopupShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_isPopupShowing);

    if (!sipMeth)
        return Plasma::Applet::isPopupShowing();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QList<QAction*> sipPlasma_Applet::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::Applet::contextualActions();

    typedef QList<QAction*> (*sipVH_QtGui_168)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::paintInterface(QPainter*a0,const QStyleOptionGraphicsItem*a1,const QRect& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_paintInterface);

    if (!sipMeth)
    {
        Plasma::Applet::paintInterface(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,const QRect&);

    sipVH_plasma_8(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Plasma::Location sipPlasma_Applet::location() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_location);

    if (!sipMeth)
        return Plasma::Applet::location();

    extern Plasma::Location sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth);
}

Plasma::FormFactor sipPlasma_Applet::formFactor() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,NULL,sipName_formFactor);

    if (!sipMeth)
        return Plasma::Applet::formFactor();

    extern Plasma::FormFactor sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Applet::restore(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_restore);

    if (!sipMeth)
    {
        Plasma::Applet::restore(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Applet::save(KConfigGroup& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::Applet::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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;

    {
        const 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;

    {
        const 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;
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;
        const 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;
        const 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;
        const 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));

    {
        const 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));

    {
        const 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;

    {
        const 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;

    {
        const 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);
        }
    }

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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));

    {
        const 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;

    {
        const 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;

    {
        const 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));

    {
        const 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;

    {
        const 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;

    {
        const 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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb|J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFailedToLaunch(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        const Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::saveState(*a0) : sipCpp->saveState(*a0));
            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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHasConfigurationInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb|J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigurationRequired(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1J1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_Plasma_MessageButtons, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showMessage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a2),sipType_Plasma_MessageButtons,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::constraintsEvent(*a0) : sipCpp->constraintsEvent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unregisterAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRegisteredAsDragHandle(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

    {
        const Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            Plasma::Extender*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->extender();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Extender,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Applet::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Applet::sceneEventFilter(a0,a1) : sipCpp->sceneEventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::focusInEvent(a0) : sipCpp->focusInEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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));

    {
        const Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_Applet, &sipCpp))
        {
            QPainterPath*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->Plasma::Applet::shape() : sipCpp->shape()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        const Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE|J9", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->Plasma::Applet::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::hoverEnterEvent(a0) : sipCpp->hoverEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::hoverLeaveEvent(a0) : sipCpp->hoverLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Applet::timerEvent(a0) : sipCpp->timerEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        const 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;
        Plasma::Applet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_Plasma_Applet, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Plasma::Applet::itemChange(a0,*a1) : sipCpp->itemChange(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
}


extern "C" {static PyObject *meth_Plasma_Applet_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Applet_paint(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_Applet, sipName_paint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Applet(void *, const sipTypeDef *);}
static void *cast_Plasma_Applet(void *sipCppV, const sipTypeDef *targetType)
{
    Plasma::Applet *sipCpp = reinterpret_cast<Plasma::Applet *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast<QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Applet(void *, int);}
static void release_Plasma_Applet(void *sipCppV,int)
{
    Plasma::Applet *sipCpp = reinterpret_cast<Plasma::Applet *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_Applet(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{218, 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_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_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_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_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_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_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_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_hoverEnterEvent), meth_Plasma_Applet_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_Applet_hoverLeaveEvent, 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_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_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_mouseMoveEvent), meth_Plasma_Applet_mouseMoveEvent, 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_paint), meth_Plasma_Applet_paint, 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_popupPosition), meth_Plasma_Applet_popupPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_raise_), meth_Plasma_Applet_raise_, 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_sceneEventFilter), meth_Plasma_Applet_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screenRect), meth_Plasma_Applet_screenRect, 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_setHasConfigurationInterface), meth_Plasma_Applet_setHasConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImmutability), meth_Plasma_Applet_setImmutability, 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_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_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_view), meth_Plasma_Applet_view, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Applet[] = {
    {sipName_DefaultBackground, static_cast<int>(Plasma::Applet::DefaultBackground), 22},
    {sipName_NoBackground, static_cast<int>(Plasma::Applet::NoBackground), 22},
    {sipName_StandardBackground, static_cast<int>(Plasma::Applet::StandardBackground), 22},
    {sipName_TranslucentBackground, static_cast<int>(Plasma::Applet::TranslucentBackground), 22},
    {sipName_Type, static_cast<int>(Plasma::Applet::Type), -1},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Applet[] = {
    {"immutabilityChanged(Plasma::ImmutabilityType)", 0, 0, 0},
    {"newStatus(Plasma::ItemStatus)", 0, 0, 0},
    {"extenderItemRestored(Plasma::ExtenderItem*)", 0, 0, 0},
    {"appletDestroyed(Plasma::Applet*)", 0, 0, 0},
    {"messageButtonPressed(const Plasma::MessageButton)", 0, 0, 0},
    {"activate()", 0, 0, 0},
    {"configNeedsSaving()", 0, 0, 0},
    {"sizeHintChanged(Qt::SizeHint)", 0, 0, 0},
    {"appletTransformedItself()", 0, 0, 0},
    {"appletTransformedByUser()", 0, 0, 0},
    {"geometryChanged()", 0, 0, 0},
    {"releaseVisualFocus()", 0, 0, 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},
        101, 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_type_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,
    0,
    0,
    0
},
    &Plasma::Applet::staticMetaObject,
    0,
    signals_Plasma_Applet,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 13231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 13238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 13244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 13247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 13250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 13256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 13259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTimerEvent* a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Animator, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->timerEvent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Animator, sipName_timerEvent, 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;
}


/* 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[] = {{141, 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_timerEvent), meth_Plasma_Animator_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterScrollingManager), meth_Plasma_Animator_unregisterScrollingManager, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Animator[] = {
    {sipName_ActivateAnimation, static_cast<int>(Plasma::Animator::ActivateAnimation), 17},
    {sipName_AppearAnimation, static_cast<int>(Plasma::Animator::AppearAnimation), 17},
    {sipName_DisappearAnimation, static_cast<int>(Plasma::Animator::DisappearAnimation), 17},
    {sipName_EaseInCurve, static_cast<int>(Plasma::Animator::EaseInCurve), 18},
    {sipName_EaseInOutCurve, static_cast<int>(Plasma::Animator::EaseInOutCurve), 18},
    {sipName_EaseOutCurve, static_cast<int>(Plasma::Animator::EaseOutCurve), 18},
    {sipName_FadeAnimation, static_cast<int>(Plasma::Animator::FadeAnimation), 17},
    {sipName_FastSlideInMovement, static_cast<int>(Plasma::Animator::FastSlideInMovement), 19},
    {sipName_FastSlideOutMovement, static_cast<int>(Plasma::Animator::FastSlideOutMovement), 19},
    {sipName_GeometryAnimation, static_cast<int>(Plasma::Animator::GeometryAnimation), 17},
    {sipName_GrowAnimation, static_cast<int>(Plasma::Animator::GrowAnimation), 17},
    {sipName_LastAnimation, static_cast<int>(Plasma::Animator::LastAnimation), 17},
    {sipName_LinearCurve, static_cast<int>(Plasma::Animator::LinearCurve), 18},
    {sipName_PendularCurve, static_cast<int>(Plasma::Animator::PendularCurve), 18},
    {sipName_PixmapTransitionAnimation, static_cast<int>(Plasma::Animator::PixmapTransitionAnimation), 17},
    {sipName_PulseAnimation, static_cast<int>(Plasma::Animator::PulseAnimation), 17},
    {sipName_RotationAnimation, static_cast<int>(Plasma::Animator::RotationAnimation), 17},
    {sipName_RotationStackedAnimation, static_cast<int>(Plasma::Animator::RotationStackedAnimation), 17},
    {sipName_SlideAnimation, static_cast<int>(Plasma::Animator::SlideAnimation), 17},
    {sipName_SlideInMovement, static_cast<int>(Plasma::Animator::SlideInMovement), 19},
    {sipName_SlideOutMovement, static_cast<int>(Plasma::Animator::SlideOutMovement), 19},
    {sipName_WaterAnimation, static_cast<int>(Plasma::Animator::WaterAnimation), 17},
    {sipName_ZoomAnimation, static_cast<int>(Plasma::Animator::ZoomAnimation), 17},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Animator[] = {
    {"scrollStateChanged(QGraphicsWidget*,QAbstractAnimation::State,QAbstractAnimation::State)", 0, 0, 0},
    {"customAnimationFinished(int)", 0, 0, 0},
    {"elementAnimationFinished(int)", 0, 0, 0},
    {"movementFinished(QGraphicsItem*)", 0, 0, 0},
    {"animationFinished(QGraphicsItem*,Plasma::Animator::Animation)", 0, 0, 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},
        16, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Animator::staticMetaObject,
    0,
    signals_Plasma_Animator,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animationdriver.sip"
#include <plasma/animationdriver.h>
#line 13882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 13889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 13895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 13898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void itemSlideOut(qreal,QGraphicsItem*,const QPoint&,const QPoint&);
    void itemSlideIn(qreal,QGraphicsItem*,const QPoint&,const QPoint&);
    void itemActivated(qreal,QGraphicsItem*);
    void itemDisappear(qreal,QGraphicsItem*);
    void itemAppear(qreal,QGraphicsItem*);
    QPixmap elementDisappear(qreal,const QPixmap&);
    QPixmap elementAppear(qreal,const QPixmap&);
    Plasma::Animator::CurveShape elementAnimationCurve(Plasma::Animator::Animation) const;
    Plasma::Animator::CurveShape movementAnimationCurve(Plasma::Animator::Movement) const;
    Plasma::Animator::CurveShape animationCurve(Plasma::Animator::Animation) const;
    int elementAnimationDuration(Plasma::Animator::Animation) const;
    int movementAnimationDuration(Plasma::Animator::Movement) const;
    int animationDuration(Plasma::Animator::Animation) const;
    int elementAnimationFps(Plasma::Animator::Animation) const;
    int movementAnimationFps(Plasma::Animator::Movement) const;
    int animationFps(Plasma::Animator::Animation) const;

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(sipPySelf, sipType_Plasma_AnimationDriver, _clname)) ? this : Plasma::AnimationDriver::qt_metacast(_clname);
}

void sipPlasma_AnimationDriver::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AnimationDriver::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AnimationDriver::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AnimationDriver::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AnimationDriver::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_AnimationDriver::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::AnimationDriver::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_AnimationDriver::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::AnimationDriver::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_AnimationDriver::itemSlideOut(qreal a0,QGraphicsItem*a1,const QPoint& a2,const QPoint& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_itemSlideOut);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemSlideOut(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,QGraphicsItem*,const QPoint&,const QPoint&);

    sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_AnimationDriver::itemSlideIn(qreal a0,QGraphicsItem*a1,const QPoint& a2,const QPoint& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_itemSlideIn);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemSlideIn(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,QGraphicsItem*,const QPoint&,const QPoint&);

    sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_AnimationDriver::itemActivated(qreal a0,QGraphicsItem*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemActivated);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemActivated(a0,a1);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,QGraphicsItem*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_AnimationDriver::itemDisappear(qreal a0,QGraphicsItem*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_itemDisappear);

    if (!sipMeth)
    {
        Plasma::AnimationDriver::itemDisappear(a0,a1);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,QGraphicsItem*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, 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, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,QGraphicsItem*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QPixmap sipPlasma_AnimationDriver::elementDisappear(qreal a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_elementDisappear);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementDisappear(a0,a1);

    extern QPixmap sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,const QPixmap&);

    return sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QPixmap sipPlasma_AnimationDriver::elementAppear(qreal a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_elementAppear);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAppear(a0,a1);

    extern QPixmap sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,const QPixmap&);

    return sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::elementAnimationCurve(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_elementAnimationCurve);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAnimationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Animation);

    return sipVH_plasma_31(sipGILState, 0, sipPySelf, 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[15]),sipPySelf,NULL,sipName_movementAnimationCurve);

    if (!sipMeth)
        return Plasma::AnimationDriver::movementAnimationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Movement);

    return sipVH_plasma_32(sipGILState, 0, sipPySelf, 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[16]),sipPySelf,NULL,sipName_animationCurve);

    if (!sipMeth)
        return Plasma::AnimationDriver::animationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Animation);

    return sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_AnimationDriver::elementAnimationDuration(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_elementAnimationDuration);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAnimationDuration(a0);

    extern int sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_AnimationDriver::movementAnimationDuration(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_movementAnimationDuration);

    if (!sipMeth)
        return Plasma::AnimationDriver::movementAnimationDuration(a0);

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Movement);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_AnimationDriver::animationDuration(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_animationDuration);

    if (!sipMeth)
        return Plasma::AnimationDriver::animationDuration(a0);

    extern int sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_AnimationDriver::elementAnimationFps(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_elementAnimationFps);

    if (!sipMeth)
        return Plasma::AnimationDriver::elementAnimationFps(a0);

    extern int sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_AnimationDriver::movementAnimationFps(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_movementAnimationFps);

    if (!sipMeth)
        return Plasma::AnimationDriver::movementAnimationFps(a0);

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Movement);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_AnimationDriver::animationFps(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_animationFps);

    if (!sipMeth)
        return Plasma::AnimationDriver::animationFps(a0);

    extern int sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::Animator::Animation);

    return sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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;
        const 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;
        const 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;
        const 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;
        const 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;
        const 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;
        const 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;
        const 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;
        const 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;
        const 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;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AnimationDriver(void *, int);}
static void release_Plasma_AnimationDriver(void *sipCppV,int)
{
    Plasma::AnimationDriver *sipCpp = reinterpret_cast<Plasma::AnimationDriver *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_AnimationDriver(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{141, 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_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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AnimationDriver = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AnimationDriver,
        {0}
    },
    {
        sipNameNr_AnimationDriver,
        {1, 255, 0},
        16, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::AnimationDriver::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 14995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 14999 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Animation::MovementDirection::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 15021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Animation::MovementDirection::Int() != a0->operator Plasma::Animation::MovementDirection::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 15055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Animation::MovementDirection::Int() == a0->operator Plasma::Animation::MovementDirection::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 15095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::MovementDirection(*a0 ^ a1);
#line 15204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::MovementDirection(*a0 | a1);
#line 15256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


/* 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_type_Plasma_Animation_MovementDirection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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 398 "/usr/share/python3-sip/PyQt4/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(int(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 15540 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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_type_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,
    0,
    convertTo_Plasma_Animation_MovementDirection,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 15616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 15620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Animation::Reference::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 15642 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Animation::Reference::Int() != a0->operator Plasma::Animation::Reference::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 15676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Animation::Reference::Int() == a0->operator Plasma::Animation::Reference::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 15716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::Reference(*a0 ^ a1);
#line 15825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Animation::Reference(*a0 | a1);
#line 15877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


/* 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_type_Plasma_Animation_Reference(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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 398 "/usr/share/python3-sip/PyQt4/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(int(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 16161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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_type_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,
    0,
    convertTo_Plasma_Animation_Reference,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 16237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 16244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 16247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 16250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 16256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateDirection(QAbstractAnimation::Direction);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    bool event(QEvent*);
    int duration() const;
    void updateCurrentTime(int);
    void setDuration(int);

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(sipPySelf, sipType_Plasma_Animation, _clname)) ? this : Plasma::Animation::qt_metacast(_clname);
}

void sipPlasma_Animation::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Animation::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Animation::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Animation::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Animation::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Animation::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Animation::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Animation::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Animation::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Animation::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Animation::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Animation::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Animation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
        Plasma::Animation::updateDirection(a0);
        return;
    }

    typedef void (*sipVH_QtCore_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::Direction);

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Animation::updateState(QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
        Plasma::Animation::updateState(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractAnimation::State,QAbstractAnimation::State);

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Animation::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Animation::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Animation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return Plasma::Animation::duration();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Animation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
        Plasma::Animation::updateCurrentTime(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Animation::setDuration(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setDuration);

    if (!sipMeth)
    {
        Plasma::Animation::setDuration(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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));

    {
        const 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;
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p|i", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Animation::setDuration(a0) : sipCpp->setDuration(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::Animation::updateCurrentTime(a0) : sipCpp->updateCurrentTime(a0));
            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;

    {
        const 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;

    {
        const 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;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Animation(void *, int);}
static void release_Plasma_Animation(void *sipCppV,int)
{
    Plasma::Animation *sipCpp = reinterpret_cast<Plasma::Animation *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_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_type_Plasma_Animation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_duration), meth_Plasma_Animation_duration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_easingCurve), meth_Plasma_Animation_easingCurve, 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_updateCurrentTime), meth_Plasma_Animation_updateCurrentTime, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Animation[] = {
    {sipName_Center, static_cast<int>(Plasma::Animation::Center), 14},
    {sipName_Down, static_cast<int>(Plasma::Animation::Down), 14},
    {sipName_Left, static_cast<int>(Plasma::Animation::Left), 14},
    {sipName_MoveAny, static_cast<int>(Plasma::Animation::MoveAny), 12},
    {sipName_MoveDown, static_cast<int>(Plasma::Animation::MoveDown), 12},
    {sipName_MoveLeft, static_cast<int>(Plasma::Animation::MoveLeft), 12},
    {sipName_MoveRight, static_cast<int>(Plasma::Animation::MoveRight), 12},
    {sipName_MoveUp, static_cast<int>(Plasma::Animation::MoveUp), 12},
    {sipName_Right, static_cast<int>(Plasma::Animation::Right), 14},
    {sipName_Up, static_cast<int>(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},
        7, 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_type_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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Animation::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/accessmanager.sip"
#include <plasma/accessmanager.h>
#line 16899 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 16903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/accessappletjob.sip"
#include <plasma/accessappletjob.h>
#line 16906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 16915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16930 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16936 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16939 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16942 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16945 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16948 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart6.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
        const 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;

    {
        const 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;
}


/* 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[] = {{141, 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 signals. */
static const pyqt4QtSignal signals_Plasma_AccessManager[] = {
    {"remoteAppletUnannounced(Plasma::PackageMetadata)", 0, 0, 0},
    {"remoteAppletAnnounced(Plasma::PackageMetadata)", 0, 0, 0},
    {"finished(Plasma::AccessAppletJob*)", 0, 0, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::AccessManager::staticMetaObject,
    0,
    signals_Plasma_AccessManager,
};
