/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:22:22 2009
 */

#include "sipAPIplasma.h"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 18 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/servicejob.sip"
#include <plasma/servicejob.h>
#line 21 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24 "sipplasmapart0.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 154 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 29 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/package.sip"
#include <plasma/package.h>
#line 35 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 38 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 41 "sipplasmapart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/service.sip"
#include <plasma/service.h>
#line 44 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 47 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 50 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 53 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 56 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 59 "sipplasmapart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 62 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 65 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 68 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 71 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 74 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 77 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 80 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 141 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 144 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 147 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 150 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 153 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 156 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 161 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 164 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 167 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 170 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 173 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 176 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 179 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 184 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 187 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 190 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 193 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 196 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 201 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 206 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 211 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 216 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 219 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 222 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 225 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 228 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 231 "sipplasmapart0.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 234 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 237 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 240 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 243 "sipplasmapart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/tooltipcontent.sip"
#include <plasma/tooltipcontent.h>
#line 246 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/signalplotter.sip"
#include <plasma/widgets/signalplotter.h>
#line 249 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/videowidget.sip"
#include <plasma/widgets/videowidget.h>
#line 252 "sipplasmapart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_plasma[] = {
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    's', 't', 'a', 't', 'i', 'c', '_', 'p', 'u', 'b', 'l', 'i', 'c', '_', 's', 'e', 't', 'H', 'a', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    's', 't', 'a', 't', 'i', 'c', '_', 'p', 'u', 'b', 'l', 'i', 'c', '_', 's', 'e', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 0,
    'Q', 'H', 'a', 's', 'h', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'a', 't', 'a', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'e', 'r', '*', '>', 0,
    'K', 'S', 'h', 'a', 'r', 'e', 'd', 'P', 't', 'r', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'S', 't', 'r', 'u', 'c', 't', 'u', 'r', 'e', '>', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'C', 'o', 'n', 't', 'e', 'n', 't', ':', ':', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'H', 'a', 's', 'h', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', '*', '>', 0,
    'e', 'x', 'a', 'm', 'p', 'l', 'e', 'Q', 'u', 'e', 'r', 'i', 'e', 's', 'W', 'i', 't', 'h', 'T', 'e', 'r', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'r', 'a', 'm', 'e', 'S', 'v', 'g', ':', ':', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'B', 'o', 'r', 'd', 'e', 'r', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'u', 'n', 'n', 'e', 'r', ':', ':', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', ':', ':', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'r', 'a', 'm', 'e', 'S', 'v', 'g', ':', ':', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', ':', ':', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'c', 'R', 'o', 'l', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', ':', ':', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'H', 'i', 'n', 't', 's', 0,
    'Q', 'H', 'a', 's', 'h', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'u', 'n', 'n', 'e', 'r', '*', '>', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', ':', ':', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'H', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'G', 'r', 'o', 'u', 'p', '*', '>', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'V', 'i', 'd', 'e', 'o', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'M', 'a', 'n', 'a', 'g', 'e', 'r', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'R', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'r', 'n', 'e', 'r', 's', 0,
    'f', 'l', 'u', 's', 'h', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 's', 'E', 'v', 'e', 'n', 't', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'u', 'n', 'n', 'e', 'r', ':', ':', 'S', 'p', 'e', 'e', 'd', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'I', 't', 'e', 'm', '*', '>', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'V', 'i', 'd', 'e', 'o', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'C', 'o', 'n', 't', 'e', 'x', 't', ':', ':', 'T', 'y', 'p', 'e', 's', 0,
    'R', 'i', 'g', 'h', 't', 'P', 'o', 's', 'e', 'd', 'B', 'o', 't', 't', 'o', 'm', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'B', 'o', 't', 't', 'o', 'm', 'P', 'o', 's', 'e', 'd', 'R', 'i', 'g', 'h', 't', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', ':', ':', 'A', 'p', 'p', 'e', 'a', 'r', 'a', 'n', 'c', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'R', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', ':', ':', 'C', 'o', 'l', 'u', 'm', 'n', 'T', 'y', 'p', 'e', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'S', 'c', 'r', 'e', 'e', 'n', 'R', 'e', 'g', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', 'P', 'r', 'o', 't', 'e', 'c', 't', 'e', 'd', 'T', 'h', 'u', 'n', 'k', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'n', 'i', 'm', 'a', 't', 'o', 'r', ':', ':', 'C', 'u', 'r', 'v', 'e', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'P', 'y', 'Q', 't', '4', '.', 'Q', 't', 'C', 'o', 'r', 'e', '.', 'p', 'y', 'q', 't', 'W', 'r', 'a', 'p', 'p', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'S', 'y', 'n', 't', 'a', 'x', '>', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'C', 'o', 'n', 't', 'e', 'x', 't', ':', ':', 'T', 'y', 'p', 'e', 0,
    'B', 'o', 't', 't', 'o', 'm', 'P', 'o', 's', 'e', 'd', 'L', 'e', 'f', 't', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'L', 'e', 'f', 't', 'P', 'o', 's', 'e', 'd', 'B', 'o', 't', 't', 'o', 'm', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'l', 'i', 's', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 's', 'F', 'o', 'r', 'M', 'i', 'm', 'e', 't', 'y', 'p', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'n', 'i', 'm', 'a', 't', 'o', 'r', ':', ':', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'T', 'r', 'a', 'c', 'k', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 's', 0,
    'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'T', 'o', 'I', 'n', 'v', 'e', 'r', 's', 'e', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 't', 'a', 'r', 't', 'u', 'p', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'd', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    's', 'h', 'o', 'w', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'n', 'i', 'm', 'a', 't', 'o', 'r', ':', ':', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'Q', 'u', 'e', 'r', 'y', 'M', 'a', 't', 'c', 'h', '>', 0,
    'i', 's', 'P', 'l', 'u', 'g', 'i', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'C', 'o', 'm', 'p', 'a', 't', 'i', 'b', 'l', 'e', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'T', 'r', 'a', 'n', 's', 'l', 'u', 'c', 'e', 'n', 'c', 'y', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 'M', 'u', 'l', 't', 'i', 'p', 'l', 'e', 'I', 'm', 'a', 'g', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'R', 'i', 'g', 'h', 't', 'P', 'o', 's', 'e', 'd', 'T', 'o', 'p', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'T', 'o', 'p', 'P', 'o', 's', 'e', 'd', 'R', 'i', 'g', 'h', 't', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    's', 'e', 't', 'C', 'a', 'c', 'h', 'e', 'A', 'l', 'l', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'd', 'F', 'r', 'a', 'm', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'P', 'o', 'l', 'l', 'i', 'n', 'g', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', ':', ':', 'T', 'y', 'p', 'e', 0,
    'h', 'a', 's', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'l', 'i', 's', 't', 'A', 'p', 'p', 'l', 'e', 't', 'I', 'n', 'f', 'o', 'F', 'o', 'r', 'M', 'i', 'm', 'e', 't', 'y', 'p', 'e', 0,
    'm', 'o', 'v', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'l', 'o', 't', 'C', 'o', 'l', 'o', 'r', '>', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'M', 'e', 't', 'e', 'r', ':', ':', 'M', 'e', 't', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'h', 'e', 'm', 'e', ':', ':', 'C', 'o', 'l', 'o', 'r', 'R', 'o', 'l', 'e', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 's', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    's', 'e', 't', 'S', 'e', 'a', 'r', 'c', 'h', 'T', 'e', 'r', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'Q', 'u', 'e', 'r', 'y', 'M', 'a', 't', 'c', 'h', ':', ':', 'T', 'y', 'p', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'I', 'm', 'm', 'u', 't', 'a', 'b', 'i', 'l', 'i', 't', 'y', 'T', 'y', 'p', 'e', 0,
    'L', 'e', 'f', 't', 'P', 'o', 's', 'e', 'd', 'T', 'o', 'p', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'T', 'o', 'p', 'P', 'o', 's', 'e', 'd', 'L', 'e', 'f', 't', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'n', 'e', 'w', 'W', 'i', 'd', 'g', 'e', 't', 'B', 'r', 'o', 'w', 's', 'e', 'r', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'S', 't', 'r', 'u', 'c', 't', 'u', 'r', 'e', 0,
    'l', 'i', 's', 't', 'E', 'n', 'g', 'i', 'n', 'e', 'I', 'n', 'f', 'o', 'B', 'y', 'C', 'a', 't', 'e', 'g', 'o', 'r', 'y', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'I', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', 0,
    't', 'o', 'o', 'l', 'B', 'o', 'x', 'V', 'i', 's', 'i', 'b', 'i', 'l', 'i', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 'A', 's', 'D', 'r', 'a', 'g', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', '>', 0,
    'Q', 'H', 'a', 's', 'h', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'Q', 'A', 'c', 't', 'i', 'o', 'n', '*', '>', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'C', 'o', 'l', 'o', 'r', 0,
    't', 'r', 'a', 'c', 'k', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'h', 'e', 'm', 'e', ':', ':', 'F', 'o', 'n', 't', 'R', 'o', 'l', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'M', 'e', 't', 'a', 'd', 'a', 't', 'a', 0,
    's', 'e', 't', 'E', 'm', 'p', 't', 'y', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'V', 'i', 's', 'u', 'a', 'l', 'i', 'z', 'a', 't', 'i', 'o', 'n', 0,
    's', 'h', 'o', 'w', 'A', 'd', 'd', 'W', 'i', 'd', 'g', 'e', 't', 's', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'a', 'p', 'p', 'l', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'e', 'd', 'I', 't', 's', 'e', 'l', 'f', 0,
    'a', 'p', 'p', 'l', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'e', 'd', 'B', 'y', 'U', 's', 'e', 'r', 0,
    's', 'h', 'o', 'u', 'l', 'd', 'C', 'o', 'n', 's', 'e', 'r', 'v', 'e', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'c', 'u', 's', 't', 'o', 'm', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'D', 'r', 'i', 'v', 'e', 'r', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', '*', '>', 0,
    's', 'e', 't', 'S', 'h', 'o', 'w', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'S', 'c', 'a', 'l', 'e', 'd', 'A', 'n', 'd', 'C', 'r', 'o', 'p', 'p', 'e', 'd', 'R', 'e', 's', 'i', 'z', 'e', 0,
    's', 'c', 'e', 'n', 'e', 'R', 'e', 'c', 't', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'C', 'o', 'n', 't', 'e', 'n', 't', 0,
    's', 'e', 't', 'U', 's', 'i', 'n', 'g', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'C', 'a', 'c', 'h', 'e', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 'M', 'u', 'l', 't', 'i', 'p', 'l', 'e', 'I', 'm', 'a', 'g', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 'T', 'y', 'p', 'e', 's', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'o', 'p', 'u', 'p', 'P', 'l', 'a', 'c', 'e', 'm', 'e', 'n', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'N', 'e', 'w', 'W', 'i', 'd', 'g', 'e', 't', 'B', 'r', 'o', 'w', 's', 'e', 'r', 0,
    'a', 'd', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'D', 'e', 'f', 'i', 'n', 'i', 't', 'i', 'o', 'n', 0,
    'c', 'a', 'c', 'h', 'e', 'A', 'l', 'l', 'R', 'e', 'n', 'd', 'e', 'r', 'e', 'd', 'F', 'r', 'a', 'm', 'e', 's', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 'C', 'o', 'r', 'n', 'e', 'r', 's', 0,
    's', 'c', 'h', 'e', 'd', 'u', 'l', 'e', 'S', 'o', 'u', 'r', 'c', 'e', 's', 'U', 'p', 'd', 'a', 't', 'e', 'd', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'P', 'o', 'l', 'l', 'i', 'n', 'g', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'l', 'i', 's', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 's', 'O', 'f', 'T', 'y', 'p', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'P', 'a', 'n', 'e', 'l', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'A', 's', 'D', 'r', 'a', 'g', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'm', 'o', 'v', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'C', 'u', 'r', 'v', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'R', 'u', 'n', 'n', 'e', 'r', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 's', 's', 'o', 'c', 'i', 'a', 't', 'e', 'd', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'C', 'o', 'l', 'o', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'i', 'g', 'n', 'a', 'l', 'P', 'l', 'o', 't', 't', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'l', 'a', 's', 'h', 'i', 'n', 'g', 'L', 'a', 'b', 'e', 'l', 0,
    'B', 'u', 't', 't', 'o', 'n', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'i', 's', 'U', 's', 'i', 'n', 'g', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'C', 'a', 'c', 'h', 'e', 0,
    's', 'e', 'a', 'r', 'c', 'h', 'T', 'e', 'r', 'm', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'l', 'i', 'p', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'Z', 'o', 'o', 'm', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'R', 'o', 'o', 't', 0,
    's', 'e', 't', 'A', 'l', 'l', 'o', 'w', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'P', 'a', 't', 'h', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'G', 'r', 'o', 'u', 'p', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 'B', 'o', 'r', 'd', 'e', 'r', 's', 'F', 'o', 'r', 'I', 't', 'e', 'm', 0,
    'S', 'e', 'c', 'o', 'n', 'd', 'a', 'r', 'y', 'A', 'c', 't', 'i', 'o', 'n', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'S', 'u', 'b', 'T', 'i', 't', 'l', 'e', 'M', 'a', 'n', 'd', 'a', 't', 'o', 'r', 'y', 'R', 'o', 'l', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'a', 't', 'a', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'e', 'r', 0,
    'a', 'd', 'd', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'S', 'c', 'r', 'e', 'e', 'n', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'O', 'f', 'f', 's', 'c', 'r', 'e', 'e', 'n', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'd', 'd', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 0,
    'T', 'r', 'a', 'n', 's', 'l', 'u', 'c', 'e', 'n', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'C', 'u', 'r', 'v', 'e', 0,
    'p', 'r', 'e', 'p', 'a', 'r', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'm', 'o', 'u', 's', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'C', 'o', 'u', 'n', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'S', 'h', 'o', 'w', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'd', 'r', 'a', 'w', 'A', 'c', 't', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', 'B', 'a', 's', 'e', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'R', 'e', 'c', 't', 's', 'C', 'a', 'c', 'h', 'e', 0,
    'i', 'n', 's', 'e', 'r', 't', 'I', 'n', 't', 'o', 'R', 'e', 'c', 't', 's', 'C', 'a', 'c', 'h', 'e', 0,
    'u', 's', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'U', 's', 'e', 'G', 'l', 'o', 'b', 'a', 'l', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'h', 'e', 'm', 'e', 'H', 'a', 's', 'I', 'm', 'a', 'g', 'e', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'c', 'r', 'i', 'p', 't', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'u', 'n', 'n', 'e', 'r', 'S', 'y', 'n', 't', 'a', 'x', 0,
    'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'F', 'o', 'r', 'm', 'F', 'a', 'c', 't', 'o', 'r', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    's', 'e', 't', 'I', 'm', 'p', 'l', 'e', 'm', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 'A', 'p', 'i', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'e', 'm', 'p', 't', 'y', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'F', 'o', 'r', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'l', 'i', 's', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 'f', 'i', 'g', 'L', 'o', 'a', 'd', 'e', 'r', 0,
    'e', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'I', 't', 'e', 'm', 'R', 'e', 's', 't', 'o', 'r', 'e', 'd', 0,
    'm', 'e', 's', 's', 'a', 'g', 'e', 'B', 'u', 't', 't', 'o', 'n', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    's', 't', 'o', 'p', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'F', 'a', 's', 't', 'S', 'l', 'i', 'd', 'e', 'O', 'u', 't', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    'm', 'o', 'v', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'F', 'p', 's', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'A', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'E', 'd', 'i', 't', 'o', 'r', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'V', 'i', 'd', 'e', 'o', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'e', 'x', 't', 'B', 'r', 'o', 'w', 's', 'e', 'r', 0,
    'd', 'r', 'a', 'w', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 0,
    's', 'h', 'o', 'w', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'L', 'i', 'n', 'e', 's', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'e', 't', 'h', 'o', 'd', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 's', 'T', 'o', 'P', 'r', 'e', 'v', 'i', 'e', 'w', 0,
    's', 'e', 't', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 's', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'o', 'p', 'u', 'p', 'A', 'p', 'p', 'l', 'e', 't', 0,
    'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'T', 'o', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'D', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 's', 0,
    'I', 'm', 'm', 'u', 't', 'a', 'b', 'l', 'e', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'M', 'i', 'm', 'e', 't', 'y', 'p', 'e', 's', 0,
    'r', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'i', 'e', 's', 0,
    'i', 't', 'e', 'm', 'H', 'o', 'v', 'e', 'r', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'i', 't', 'e', 'm', 'H', 'o', 'v', 'e', 'r', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'S', 'i', 'n', 'c', 'e', 'L', 'a', 's', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'i', 'm', 'm', 'u', 't', 'a', 'b', 'i', 'l', 'i', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'f', 'o', 'c', 'u', 's', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'A', 'p', 'p', 'l', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'u', 's', 't', 'o', 'm', 'C', 'a', 't', 'e', 'g', 'o', 'r', 'i', 'e', 's', 0,
    's', 't', 'o', 'p', 'C', 'u', 's', 't', 'o', 'm', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'F', 'a', 's', 't', 'S', 'l', 'i', 'd', 'e', 'I', 'n', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'F', 'p', 's', 0,
    'r', 'e', 'l', 'o', 'a', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'S', 'h', 'o', 'w', 'n', 0,
    'a', 'd', 'd', 'A', 's', 's', 'o', 'c', 'i', 'a', 't', 'e', 'd', 'W', 'i', 'd', 'g', 'e', 't', 0,
    't', 'e', 'x', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'd', 'r', 'a', 'w', 'T', 'o', 'p', 'B', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'c', 'a', 'l', 'c', 'u', 'l', 'a', 't', 'e', 'N', 'i', 'c', 'e', 'R', 'a', 'n', 'g', 'e', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'a', 'l', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 0,
    'B', 'a', 'r', 'M', 'e', 't', 'e', 'r', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 0,
    's', 'e', 't', 'N', 'u', 'm', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'L', 'i', 'n', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'I', 'c', 'o', 'n', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'B', 'u', 's', 'y', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'H', 'i', 'n', 't', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'l', 'i', 's', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 's', 0,
    'i', 's', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'o', 'P', 'r', 'e', 'v', 'i', 'e', 'w', 0,
    'd', 'i', 's', 'a', 's', 's', 'o', 'c', 'i', 'a', 't', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'i', 's', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 't', 'a', 'r', 't', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'l', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'J', 'o', 'b', 0,
    'I', 'n', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'a', 'l', 'M', 'a', 't', 'c', 'h', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'Q', 'u', 'e', 'r', 'y', 'M', 'a', 't', 'c', 'h', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'M', 'a', 'r', 'g', 'i', 'n', 'E', 'd', 'g', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'o', 'r', 'm', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'a', 'i', 'n', 't', 'U', 't', 'i', 'l', 's', 0,
    'a', 'l', 'l', 'o', 'w', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'P', 'a', 't', 'h', 's', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 'R', 'o', 'o', 't', 0,
    's', 'e', 't', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'l', 'i', 's', 't', 'I', 'n', 's', 't', 'a', 'l', 'l', 'e', 'd', 'P', 'a', 't', 'h', 's', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'E', 'x', 'p', 'i', 'r', 'e', 'D', 'e', 'l', 'a', 'y', 0,
    'i', 't', 'e', 'm', 'H', 'o', 'v', 'e', 'r', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'P', 'o', 'l', 'l', 'i', 'n', 'g', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'e', 'r', 'F', 'o', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'O', 'w', 'n', 'e', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'd', 'd', 'O', 'f', 'f', 's', 'c', 'r', 'e', 'e', 'n', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'A', 'c', 't', 'i', 'v', 'i', 't', 'y', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'D', 'e', 's', 'k', 't', 'o', 'p', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'V', 'i', 's', 'u', 'a', 'l', 'F', 'o', 'c', 'u', 's', 0,
    's', 'e', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'H', 'i', 'n', 't', 's', 0,
    's', 'e', 't', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'D', 'i', 's', 'a', 'p', 'p', 'e', 'a', 'r', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'i', 's', 'C', 'l', 'e', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'S', 'h', 'o', 'w', 'n', 0,
    's', 'e', 't', 'P', 'r', 'o', 'c', 'e', 's', 's', 'e', 'd', 'A', 'm', 'o', 'u', 'n', 't', 0,
    'f', 'o', 'c', 'u', 's', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'C', 'h', 'i', 'l', 'd', 0,
    's', 'e', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'g', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'P', 'r', 'e', 'v', 'C', 'h', 'i', 'l', 'd', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'v', 'g', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'd', 'r', 'a', 'w', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'D', 'a', 't', 'a', 'B', 'u', 'f', 'f', 'e', 'r', 's', 0,
    'l', 'a', 's', 't', 'V', 'a', 'l', 'u', 'e', 'A', 's', 'S', 't', 'r', 'i', 'n', 'g', 0,
    's', 'h', 'o', 'w', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'L', 'i', 'n', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'l', 'o', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    's', 'e', 't', 'D', 'r', 'a', 'w', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    's', 'e', 't', 'T', 'a', 'r', 'g', 'e', 't', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'l', 'i', 's', 't', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 'I', 'n', 'f', 'o', 0,
    'C', 'e', 'n', 't', 'e', 'r', 'T', 'i', 'l', 'e', 'd', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'R', 'e', 'c', 't', 's', 'C', 'a', 'c', 'h', 'e', 0,
    'u', 's', 'e', 'G', 'l', 'o', 'b', 'a', 'l', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'A', 'n', 'i', 'm', 'a', 't', 'o', 'r', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 'e', 'd', 'S', 'q', 'u', 'a', 'r', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'I', 't', 'e', 'm', 'T', 'y', 'p', 'e', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'Z', 'o', 'o', 'm', 'L', 'e', 'v', 'e', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'C', 'o', 'n', 't', 'e', 'x', 't', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'a', 'd', 'd', 'F', 'i', 'l', 'e', 'D', 'e', 'f', 'i', 'n', 'i', 't', 'i', 'o', 'n', 0,
    'i', 'm', 'p', 'l', 'e', 'm', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 'A', 'p', 'i', 0,
    's', 'e', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'B', 'o', 'r', 'd', 'e', 'r', 's', 0,
    's', 'e', 't', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'c', 't', 'A', 'f', 't', 'e', 'r', 'S', 'u', 'b', 'T', 'i', 't', 'l', 'e', 0,
    's', 'e', 't', 'M', 'a', 'x', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'u', 'n', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 'o', 'u', 'r', 'c', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'o', 'n', 'n', 'e', 'c', 't', 'A', 'l', 'l', 'S', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'l', 'o', 'a', 'd', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'r', 'e', 'q', 'u', 'i', 'r', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'y', 'n', 'c', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'S', 'y', 'n', 'c', 0,
    'c', 'l', 'e', 'a', 'r', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'e', 't', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'N', 'o', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'F', 'a', 'i', 'l', 'e', 'd', 'T', 'o', 'L', 'a', 'u', 'n', 'c', 'h', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'N', 'e', 'e', 'd', 's', 'S', 'a', 'v', 'i', 'n', 'g', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'u', 'a', 'l', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'h', 'a', 's', 'F', 'a', 'i', 'l', 'e', 'd', 'T', 'o', 'L', 'a', 'u', 'n', 'c', 'h', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 's', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    's', 't', 'o', 'p', 'I', 't', 'e', 'm', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'G', 'l', 'o', 'b', 'a', 'l', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'r', 'e', 's', 'e', 't', 'I', 'n', 'p', 'u', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    's', 'e', 't', 'S', 'c', 'a', 'l', 'e', 'd', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'h', 'a', 's', 'S', 'c', 'a', 'l', 'e', 'd', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'm', 'o', 'u', 's', 'e', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'r', 'e', 'e', 'V', 'i', 'e', 'w', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', 0,
    'g', 'e', 't', 'S', 'n', 'a', 'p', 's', 'h', 'o', 't', 'I', 'm', 'a', 'g', 'e', 0,
    's', 'e', 't', 'S', 'v', 'g', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'M', 'a', 'x', 'V', 'a', 'l', 'u', 'e', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'M', 'i', 'n', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'R', 'a', 'n', 'g', 'e', 0,
    'B', 'a', 'r', 'M', 'e', 't', 'e', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    's', 'i', 'z', 'e', 'F', 'r', 'o', 'm', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'I', 'c', 'o', 'n', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    's', 'e', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'e', 'f', 'f', 'e', 'c', 't', 'i', 'v', 'e', 'D', 'e', 's', 'k', 't', 'o', 'p', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 's', 'T', 'o', 'P', 'r', 'e', 'v', 'i', 'e', 'w', 0,
    'f', 'i', 'n', 'd', 'I', 'n', 'R', 'e', 'c', 't', 's', 'C', 'a', 'c', 'h', 'e', 0,
    'l', 'o', 'a', 'd', 'S', 'c', 'r', 'i', 'p', 't', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'e', 'd', 0,
    'B', 'o', 't', 't', 'o', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'e', 'd', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'c', 'r', 'e', 'e', 'n', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'r', 'o', 'u', 'n', 'd', 'e', 'd', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 0,
    's', 'e', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'u', 'n', 'i', 'n', 's', 't', 'a', 'l', 'l', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 0,
    'p', 'a', 'i', 'n', 't', 'G', 'L', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'G', 'L', 'A', 'p', 'p', 'l', 'e', 't', 0,
    'h', 'a', 's', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    's', 'e', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'r', 'a', 'm', 'e', 'S', 'v', 'g', 0,
    'i', 't', 'e', 'm', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'A', 'l', 'l', 'S', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'S', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'F', 'o', 'r', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'h', 'o', 'r', 't', 'c', 'u', 't', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'A', 'd', 'd', 'e', 'd', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'o', 'f', 'f', 's', 'c', 'r', 'e', 'e', 'n', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    's', 'e', 't', 'D', 'r', 'a', 'w', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 0,
    'a', 'd', 'd', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'l', 'i', 's', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 's', 0,
    'c', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 's', 'E', 'v', 'e', 'n', 't', 0,
    's', 't', 'a', 'r', 't', 'u', 'p', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'h', 'a', 's', 'A', 'u', 't', 'h', 'o', 'r', 'i', 'z', 'a', 't', 'i', 'o', 'n', 0,
    'i', 'n', 'i', 't', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'c', 'u', 's', 't', 'o', 'm', 'C', 'a', 't', 'e', 'g', 'o', 'r', 'i', 'e', 's', 0,
    'p', 'a', 'c', 'k', 'a', 'g', 'e', 'S', 't', 'r', 'u', 'c', 't', 'u', 'r', 'e', 0,
    'm', 'o', 'v', 'e', 'm', 'e', 'n', 't', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    's', 'e', 't', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    's', 't', 'o', 'p', 'I', 't', 'e', 'm', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'n', 'i', 'm', 'a', 't', 'o', 'r', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'D', 'i', 's', 'a', 'p', 'p', 'e', 'a', 'r', 0,
    's', 'e', 't', 'H', 'a', 's', 'R', 'u', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'R', 'u', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'M', 'i', 'c', 'r', 'o', 'F', 'o', 'c', 'u', 's', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'i', 'n', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 0,
    's', 'c', 'e', 'n', 'e', 'R', 'e', 'c', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'O', 'w', 'n', 'e', 'd', 'B', 'y', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'e', 's', 'W', 'i', 't', 'h', 'P', 'a', 't', 'h', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'e', 's', 'W', 'i', 't', 'h', 'I', 't', 'e', 'm', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'B', 'y', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    's', 'e', 't', 'D', 'r', 'a', 'g', 'T', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'W', 'e', 'b', 'V', 'i', 'e', 'w', 0,
    'c', 'o', 'n', 't', 'r', 'o', 'l', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'U', 's', 'e', 'd', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'd', 'r', 'a', 'w', 'T', 'o', 'p', 'B', 'a', 'r', 'F', 'r', 'a', 'm', 'e', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'U', 's', 'e', 'A', 'u', 't', 'o', 'R', 'a', 'n', 'g', 'e', 0,
    'n', 'u', 'm', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'L', 'i', 'n', 'e', 's', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'd', 0,
    's', 'w', 'a', 'p', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'T', 'o', 'P', 'r', 'e', 'v', 'i', 'e', 'w', 0,
    'i', 'n', 's', 'e', 'r', 't', 'I', 'n', 't', 'o', 'C', 'a', 'c', 'h', 'e', 0,
    'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'a', 'd', 'd', 'E', 'x', 'a', 'm', 'p', 'l', 'e', 'Q', 'u', 'e', 'r', 'y', 0,
    'N', 'e', 't', 'w', 'o', 'r', 'k', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'M', 'a', 't', 'c', 'h', 0,
    's', 'e', 't', 'P', 'a', 's', 's', 'i', 'v', 'e', 'P', 'o', 'p', 'u', 'p', 0,
    'R', 'u', 'n', 'n', 'e', 'r', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'A', 'p', 'p', 'l', 'e', 't', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'S', 'y', 's', 't', 'e', 'm', 'I', 'm', 'm', 'u', 't', 'a', 'b', 'l', 'e', 0,
    'R', 'i', 'g', 'h', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'e', 'd', 0,
    'r', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 0,
    'h', 'i', 'd', 'e', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'h', 'o', 'w', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'a', 'u', 't', 'o', 'E', 'x', 'p', 'i', 'r', 'e', 'D', 'e', 'l', 'a', 'y', 0,
    'B', 'o', 't', 't', 'o', 'm', 'U', 'p', 'S', 't', 'a', 'c', 'k', 'e', 'd', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 's', 0,
    'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'v', 'i', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'A', 'c', 't', 'i', 'v', 'i', 't', 'y', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'r', 'e', 's', 't', 'o', 'r', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'A', 'p', 'p', 'l', 'e', 't', 0,
    's', 'h', 'o', 'w', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'I', 'm', 'm', 'u', 't', 'a', 'b', 'i', 'l', 'i', 't', 'y', 0,
    'a', 'p', 'p', 'l', 'e', 't', 'D', 'e', 's', 't', 'r', 'o', 'y', 'e', 'd', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'H', 'i', 'n', 't', 's', 0,
    'a', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'c', 'u', 's', 't', 'o', 'm', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'p', 'p', 'e', 'a', 'r', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'a', 'c', 't', 'i', 'o', 'n', 's', 'F', 'o', 'r', 'M', 'a', 't', 'c', 'h', 0,
    's', 'e', 't', 'I', 'g', 'n', 'o', 'r', 'e', 'd', 'T', 'y', 'p', 'e', 's', 0,
    's', 'e', 't', 't', 'i', 'n', 'g', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'C', 'a', 'p', 'a', 'b', 'i', 'l', 'i', 't', 'i', 'e', 's', 0,
    's', 'e', 't', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 0,
    'h', 'o', 'v', 'e', 'r', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'o', 'v', 'e', 'r', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'i', 't', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'e', 'd', 'i', 't', 'i', 'n', 'g', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'k', 'e', 'y', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'H', 'i', 'g', 'h', 'e', 's', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'K', 'e', 'e', 'p', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 0,
    's', 'e', 't', 'T', 'a', 'b', 'B', 'a', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'a', 'b', 'B', 'a', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'i', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'C', 'e', 'n', 't', 'e', 'r', 'e', 'd', 'R', 'e', 's', 'i', 'z', 'e', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'V', 'i', 'e', 'w', 'A', 't', 0,
    'H', 'i', 'g', 'h', 'l', 'i', 'g', 'h', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'A', 't', 'P', 'o', 'i', 'n', 't', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 's', 0,
    's', 'e', 't', 'D', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 0,
    'k', 'n', 'o', 'w', 'n', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 's', 0,
    'e', 'x', 'a', 'm', 'p', 'l', 'e', 'Q', 'u', 'e', 'r', 'i', 'e', 's', 0,
    'm', 'a', 't', 'c', 'h', 'e', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'P', 'a', 's', 's', 'i', 'v', 'e', 'P', 'o', 'p', 'u', 'p', 0,
    'p', 'o', 'p', 'u', 'p', 'P', 'l', 'a', 'c', 'e', 'm', 'e', 'n', 't', 0,
    'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'F', 'l', 'i', 'p', 0,
    'L', 'e', 'f', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'e', 'd', 0,
    'A', 'l', 'l', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 's', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'T', 'y', 'p', 'e', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 'B', 'o', 'r', 'd', 'e', 'r', 's', 0,
    'r', 'e', 't', 'u', 'r', 'n', 'T', 'o', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'i', 't', 'e', 'm', 'A', 'd', 'd', 'e', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'T', 'o', 'p', 'D', 'o', 'w', 'n', 'S', 't', 'a', 'c', 'k', 'e', 'd', 0,
    'g', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'r', 'e', 'c', 't', 'A', 'f', 't', 'e', 'r', 'T', 'i', 't', 'l', 'e', 0,
    's', 'e', 't', 'R', 'o', 'l', 'e', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'C', 'o', 'l', 'u', 'm', 'n', 'T', 'y', 'p', 'e', 'R', 'o', 'l', 'e', 0,
    'l', 'i', 's', 't', 'E', 'n', 'g', 'i', 'n', 'e', 'I', 'n', 'f', 'o', 0,
    'l', 'i', 's', 't', 'A', 'l', 'l', 'E', 'n', 'g', 'i', 'n', 'e', 's', 0,
    'm', 'a', 'x', 'S', 'o', 'u', 'r', 'c', 'e', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'N', 'e', 'e', 'd', 's', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'c', 'h', 'e', 'c', 'k', 'F', 'o', 'r', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'a', 'd', 'd', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'a', 'p', 'p', 'l', 'e', 't', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'C', 'o', 'r', 'o', 'n', 'a', 0,
    'l', 'i', 's', 't', 'A', 'c', 't', 'i', 'v', 'i', 't', 'i', 'e', 's', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'A', 'c', 't', 'i', 'v', 'i', 't', 'y', 0,
    'f', 'o', 'c', 'u', 's', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    't', 'o', 'o', 'l', 'B', 'o', 'x', 'T', 'o', 'g', 'g', 'l', 'e', 'd', 0,
    's', 'e', 't', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'O', 'p', 'e', 'n', 0,
    'f', 'i', 'n', 'd', 'I', 't', 'e', 'm', 'B', 'y', 'N', 'a', 'm', 'e', 0,
    'i', 's', 'P', 'o', 'p', 'u', 'p', 'S', 'h', 'o', 'w', 'i', 'n', 'g', 0,
    'p', 'a', 'i', 'n', 't', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'l', 'i', 's', 't', 'C', 'a', 't', 'e', 'g', 'o', 'r', 'i', 'e', 's', 0,
    'l', 'i', 's', 't', 'A', 'p', 'p', 'l', 'e', 't', 'I', 'n', 'f', 'o', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'A', 'p', 'p', 'l', 'e', 't', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'e', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'C', 'u', 'r', 'v', 'e', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    's', 'e', 't', 'T', 'o', 't', 'a', 'l', 'A', 'm', 'o', 'u', 'n', 't', 0,
    'u', 's', 'r', 'W', 'r', 'i', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 0,
    'u', 's', 'r', 'S', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', 0,
    'u', 's', 'r', 'U', 's', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', 0,
    'v', 'e', 'r', 's', 'i', 'o', 'n', 'R', 'e', 'l', 'e', 'a', 's', 'e', 0,
    'l', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'S', 'i', 'z', 'e', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'd', 'r', 'a', 'w', 'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'd', 'r', 'a', 'w', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'n', 'e', 'w', 'P', 'r', 'o', 'x', 'y', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'h', 'o', 'v', 'e', 'r', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    'l', 'a', 'b', 'e', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'h', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'd', 'r', 'a', 'g', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'a', 'g', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'E', 'a', 's', 'e', 'I', 'n', 'O', 'u', 't', 'C', 'u', 'r', 'v', 'e', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'L', 'o', 'w', 'e', 's', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'n', 'e', 'x', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'F', 'i', 'n', 'i', 's', 'h', 0,
    'r', 'e', 'm', 'a', 'i', 'n', 'i', 'n', 'g', 'T', 'i', 'm', 'e', 0,
    'i', 's', 'T', 'a', 'b', 'B', 'a', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    'd', 'r', 'a', 'w', 'T', 'h', 'i', 'n', 'F', 'r', 'a', 'm', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'c', 'k', 'P', 'l', 'o', 't', 's', 0,
    's', 'v', 'g', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    's', 'e', 't', 'S', 'h', 'o', 'w', 'T', 'o', 'p', 'B', 'a', 'r', 0,
    's', 'e', 't', 'S', 'h', 'o', 'w', 'L', 'a', 'b', 'e', 'l', 's', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'M', 'e', 't', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'L', 'a', 'b', 'e', 'l', 0,
    'a', 'd', 'd', 'I', 'c', 'o', 'n', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'r', 'a', 'm', 'e', 0,
    'i', 's', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'd', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'M', 'a', 'x', 'p', 'e', 'c', 't', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'w', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 'P', 'a', 't', 'h', 0,
    'l', 'i', 's', 't', 'T', 'h', 'e', 'm', 'e', 'I', 'n', 'f', 'o', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'T', 'h', 'e', 'm', 'e', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'D', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    's', 'e', 'a', 'r', 'c', 'h', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'P', 'o', 's', 's', 'i', 'b', 'l', 'e', 'M', 'a', 't', 'c', 'h', 0,
    's', 'c', 'a', 'l', 'i', 'n', 'g', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'U', 's', 'e', 'r', 'I', 'm', 'm', 'u', 't', 'a', 'b', 'l', 'e', 0,
    'A', 'l', 'i', 'g', 'n', 'T', 'o', 'M', 'i', 'n', 'u', 't', 'e', 0,
    'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 'P', 'o', 'p', 'u', 'p', 0,
    'T', 'o', 'p', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'e', 'd', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'r', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 'F', 'i', 'l', 'e', 's', 0,
    's', 'e', 't', 'P', 'l', 'u', 'g', 'i', 'n', 'N', 'a', 'm', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'P', 'a', 'c', 'k', 'a', 'g', 'e', 0,
    'l', 'i', 's', 't', 'I', 'n', 's', 't', 'a', 'l', 'l', 'e', 'd', 0,
    'c', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'A', 'p', 'p', 'e', 'a', 'r', 'a', 'n', 'c', 'e', 0,
    'd', 'e', 't', 'a', 'c', 'h', 'e', 'd', 'I', 't', 'e', 'm', 's', 0,
    'a', 't', 't', 'a', 'c', 'h', 'e', 'd', 'I', 't', 'e', 'm', 's', 0,
    'i', 'n', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'A', 'r', 'e', 'a', 0,
    'd', 'i', 'a', 'l', 'o', 'g', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'd', 'i', 'a', 'l', 'o', 'g', 'R', 'e', 's', 'i', 'z', 'e', 'd', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'r', 'n', 'e', 'r', 's', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'e', 'r', 'D', 'i', 'c', 't', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'D', 'a', 't', 'a', 0,
    's', 'e', 't', 'F', 'o', 'r', 'm', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'z', 'o', 'o', 'm', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'a', 'p', 'p', 'l', 'e', 't', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'd', 'r', 'a', 'w', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 0,
    'i', 's', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'p', 'o', 'p', 'u', 'p', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'i', 't', 'e', 'm', 'D', 'i', 's', 'a', 'p', 'p', 'e', 'a', 'r', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'A', 'p', 'p', 'e', 'a', 'r', 0,
    'h', 'a', 's', 'R', 'u', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'u', 's', 'r', 'R', 'e', 'a', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'v', 'e', 'r', 's', 'i', 'o', 'n', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'r', 'e', 'p', 'a', 'i', 'n', 't', 'N', 'e', 'e', 'd', 'e', 'd', 0,
    'p', 'a', 'l', 'e', 't', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 'm', 'a', 'g', 'e', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'e', 't', 'C', 'a', 'c', 'h', 'e', 'L', 'i', 'm', 'i', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'i', 't', 'e', 'm', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'r', 'e', 't', 'u', 'r', 'n', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'l', 'i', 'n', 'k', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    's', 'e', 't', 'S', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 0,
    's', 'e', 't', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 0,
    's', 'e', 't', 'u', 'p', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 0,
    'd', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'e', 't', 'E', 'd', 'i', 't', 'o', 'r', 'D', 'a', 't', 'a', 0,
    'f', 'o', 'c', 'u', 's', 'O', 'u', 't', 'E', 'v', 'e', 'n', 't', 0,
    'k', 'e', 'y', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'P', 'y', 'K', 'D', 'E', '4', '.', 'p', 'l', 'a', 's', 'm', 'a', 0,
    'd', 'r', 'a', 'g', 'T', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'u', 's', 'e', 'd', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    's', 'e', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'I', 'D', 0,
    'd', 'r', 'a', 'w', 'A', 'x', 'i', 's', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'T', 'h', 'i', 'n', 'F', 'r', 'a', 'm', 'e', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'u', 's', 'e', 'A', 'u', 't', 'o', 'R', 'a', 'n', 'g', 'e', 0,
    'r', 'e', 'o', 'r', 'd', 'e', 'r', 'P', 'l', 'o', 't', 's', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 'F', 'o', 'n', 't', 0,
    's', 'e', 't', 'M', 'e', 't', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'U', 'n', 'p', 'r', 'e', 's', 's', 'e', 'd', 0,
    'i', 'n', 'v', 'e', 'r', 't', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'S', 'c', 'a', 'l', 'e', 'd', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'V', 'i', 'e', 'w', 0,
    'c', 'l', 'e', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'n', 't', 0,
    't', 'h', 'e', 'm', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'T', 'h', 'e', 'm', 'e', 'N', 'a', 'm', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'h', 'e', 'm', 'e', 0,
    'S', 'h', 'e', 'l', 'l', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 0,
    's', 'e', 't', 'R', 'e', 'l', 'e', 'v', 'a', 'n', 'c', 'e', 0,
    's', 'e', 't', 'P', 'o', 'p', 'u', 'p', 'I', 'c', 'o', 'n', 0,
    'B', 'u', 't', 't', 'o', 'n', 'C', 'a', 'n', 'c', 'e', 'l', 0,
    'B', 'o', 't', 't', 'o', 'm', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 'T', 'y', 'p', 'e', 0,
    'O', 'v', 'e', 'r', 'v', 'i', 'e', 'w', 'Z', 'o', 'o', 'm', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'F', 'l', 'i', 'p', 0,
    'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'F', 'l', 'i', 'p', 0,
    'N', 'o', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'c', 'h', 'a', 'r', '*', '>', 0,
    's', 'e', 't', 'M', 'i', 'm', 'e', 't', 'y', 'p', 'e', 's', 0,
    's', 'e', 't', 'I', 'm', 'a', 'g', 'e', 'P', 'a', 't', 'h', 0,
    'B', 'o', 't', 't', 'o', 'm', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    's', 'e', 't', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'D', 'e', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'e', 'd', 'S', 'h', 'o', 'w', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'e', 'd', 'H', 'i', 'd', 'e', 0,
    'S', 'u', 'b', 'T', 'i', 't', 'l', 'e', 'R', 'o', 'l', 'e', 0,
    'u', 'n', 'l', 'o', 'a', 'd', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'b', 'e', 'c', 'a', 'm', 'e', 'U', 'n', 'u', 's', 'e', 'd', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'S', 'y', 'n', 'c', 'e', 'd', 0,
    'a', 'd', 'd', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 's', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 's', 0,
    's', 'a', 'v', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'h', 'o', 'w', 'D', 'r', 'o', 'p', 'Z', 'o', 'n', 'e', 0,
    's', 'e', 't', 'W', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 0,
    'c', 'l', 'o', 's', 'e', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'l', 'e', 'a', 'r', 'A', 'p', 'p', 'l', 'e', 't', 's', 0,
    'i', 'm', 'm', 'u', 't', 'a', 'b', 'i', 'l', 'i', 't', 'y', 0,
    'l', 'o', 'a', 'd', 'P', 'l', 'a', 's', 'm', 'o', 'i', 'd', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'C', 'o', 'n', 'f', 'i', 'g', 0,
    'N', 'o', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'i', 't', 'e', 'm', 'S', 'l', 'i', 'd', 'e', 'O', 'u', 't', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'F', 'p', 's', 0,
    'c', 'l', 'e', 'a', 'r', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'Q', 'u', 'e', 'r', 'y', 0,
    'i', 'g', 'n', 'o', 'r', 'e', 'd', 'T', 'y', 'p', 'e', 's', 0,
    'p', 'e', 'r', 'f', 'o', 'r', 'm', 'M', 'a', 't', 'c', 'h', 0,
    's', 'e', 't', 'E', 'r', 'r', 'o', 'r', 'T', 'e', 'x', 't', 0,
    'v', 'e', 'r', 's', 'i', 'o', 'n', 'M', 'i', 'n', 'o', 'r', 0,
    'v', 'e', 'r', 's', 'i', 'o', 'n', 'M', 'a', 'j', 'o', 'r', 0,
    'l', 'o', 'a', 'd', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 0,
    'l', 'o', 'a', 'd', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'a', 'i', 's', 'e', 0,
    'H', 't', 'm', 'l', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'R', 'e', 'c', 't', 0,
    'i', 's', 'O', 'b', 's', 'c', 'u', 'r', 'e', 'd', 'B', 'y', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 'D', 'a', 't', 'a', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'd', 'i', 't', 'o', 'r', 0,
    'f', 'o', 'c', 'u', 's', 'I', 'n', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'h', 'e', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'E', 'a', 's', 'e', 'O', 'u', 't', 'C', 'u', 'r', 'v', 'e', 0,
    'H', 'i', 'g', 'h', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'A', 'n', 'a', 'l', 'o', 'g', 'M', 'e', 't', 'e', 'r', 0,
    's', 'e', 't', 'I', 'n', 'f', 'o', 'T', 'e', 'x', 't', 0,
    'D', 'e', 'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'h', 'i', 'd', 'e', 0,
    's', 'e', 't', 'M', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    'C', 's', 's', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'f', 'i', 'n', 'd', 'I', 'n', 'C', 'a', 'c', 'h', 'e', 0,
    'c', 'o', 'l', 'o', 'r', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'D', 'e', 's', 'k', 't', 'o', 'p', 'F', 'o', 'n', 't', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'o', 'n', 't', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'R', 'e', 'c', 't', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'd', 'e', 's', 't', 'i', 'n', 'a', 't', 'i', 'o', 'n', 0,
    'l', 'a', 'u', 'n', 'c', 'h', 'Q', 'u', 'e', 'r', 'y', 0,
    'H', 'e', 'l', 'p', 'e', 'r', 'M', 'a', 't', 'c', 'h', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'P', 'o', 'p', 'u', 'p', 0,
    'R', 'i', 'g', 'h', 't', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'A', 'l', 'i', 'g', 'n', 'T', 'o', 'H', 'o', 'u', 'r', 0,
    'N', 'o', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'D', 'e', 's', 'k', 't', 'o', 'p', 'Z', 'o', 'o', 'm', 0,
    'M', 'e', 'd', 'i', 'a', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'p', 'a', 't', 'h', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 0,
    's', 'e', 't', 'C', 'a', 't', 'e', 'g', 'o', 'r', 'y', 0,
    's', 'e', 't', 'K', 'e', 'y', 'w', 'o', 'r', 'd', 's', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'm', 'a', 'k', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'f', 'r', 'a', 'm', 'e', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'F', 'r', 'a', 'm', 'e', 0,
    'R', 'i', 'g', 'h', 't', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'P', 'l', 'a', 's', 'm', 'a', ':', ':', 'S', 'v', 'g', 0,
    'i', 's', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'd', 0,
    's', 'e', 't', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'r', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'H', 'i', 'd', 'e', 0,
    's', 'h', 'o', 'w', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    'r', 'o', 'l', 'e', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'A', 'd', 'd', 'e', 'd', 0,
    'd', 'a', 't', 'a', 'U', 'p', 'd', 'a', 't', 'e', 'd', 0,
    't', 'o', 'o', 'l', 'B', 'o', 'x', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'a', 'p', 'p', 'l', 'e', 't', 'A', 'd', 'd', 'e', 'd', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'i', 't', 'y', 0,
    'o', 'p', 'e', 'n', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 'm', 'e', 'n', 't', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'V', 'i', 'e', 'w', 0,
    'i', 's', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'n', 'g', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'e', 'I', 't', 'e', 'm', 0,
    'i', 't', 'e', 'm', 'S', 'l', 'i', 'd', 'e', 'I', 'n', 0,
    's', 'e', 't', 'S', 'y', 'n', 't', 'a', 'x', 'e', 's', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'S', 'p', 'e', 'e', 'd', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'T', 'y', 'p', 'e', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'T', 'y', 'p', 'e', 0,
    'e', 'm', 'i', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', 0,
    'u', 's', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', 0,
    'w', 'r', 'i', 't', 'e', 'C', 'o', 'n', 'f', 'i', 'g', 0,
    't', 'a', 'b', 'l', 'e', 't', 'E', 'v', 'e', 'n', 't', 0,
    'a', 'd', 'd', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'p', 'o', 'l', 'i', 's', 'h', 'E', 'v', 'e', 'n', 't', 0,
    'l', 'i', 'n', 'k', 'H', 'o', 'v', 'e', 'r', 'e', 'd', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    's', 'h', 'o', 'w', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'f', 'o', 'n', 't', 'M', 'e', 't', 'r', 'i', 'c', 's', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'M', 'o', 'v', 'e', 'd', 0,
    's', 'e', 't', 'P', 'a', 'g', 'e', 'S', 't', 'e', 'p', 0,
    'o', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'd', 'i', 't', 'o', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 'C', 'u', 'r', 'v', 'e', 0,
    'E', 'a', 's', 'e', 'I', 'n', 'C', 'u', 'r', 'v', 'e', 0,
    's', 'e', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'L', 'o', 'w', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'i', 'e', 's', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'i', 'm', 'e', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'N', 'o', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'd', 'r', 'a', 'w', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 't', 'a', 'c', 'k', 'P', 'l', 'o', 't', 's', 0,
    's', 'h', 'o', 'w', 'T', 'o', 'p', 'B', 'a', 'r', 0,
    's', 'h', 'o', 'w', 'L', 'a', 'b', 'e', 'l', 's', 0,
    'p', 'l', 'o', 't', 'C', 'o', 'l', 'o', 'r', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'P', 'l', 'o', 't', 0,
    'l', 'a', 'b', 'e', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    's', 'e', 't', 'R', 'u', 'n', 'n', 'i', 'n', 'g', 0,
    's', 'e', 't', 'S', 'u', 'b', 'T', 'e', 'x', 't', 0,
    'h', 'a', 's', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'm', 'a', 'i', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'a', 'd', 'd', 'M', 'a', 't', 'c', 'h', 'e', 's', 0,
    's', 'e', 't', 'S', 'u', 'b', 't', 'e', 'x', 't', 0,
    'p', 'o', 'p', 'u', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'B', 'u', 't', 't', 'o', 'n', 'N', 'o', 'n', 'e', 0,
    'L', 'e', 'f', 't', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'A', 'p', 'p', 'l', 'e', 't', 'T', 'y', 'p', 'e', 0,
    'B', 'o', 't', 't', 'o', 'm', 'E', 'd', 'g', 'e', 0,
    't', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'h', 'a', 'd', 'o', 'w', 'B', 'l', 'u', 'r', 0,
    'i', 's', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 0,
    's', 'e', 't', 'W', 'e', 'b', 's', 'i', 't', 'e', 0,
    'p', 'a', 'i', 'n', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'C', 'a', 'c', 'h', 'e', 0,
    'g', 'e', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'm', 'a', 'r', 'g', 'i', 'n', 'S', 'i', 'z', 'e', 0,
    'A', 'l', 'l', 'B', 'o', 'r', 'd', 'e', 'r', 's', 0,
    'L', 'e', 'f', 't', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'a', 'p', 'p', 'e', 'a', 'r', 'a', 'n', 'c', 'e', 0,
    'M', 'a', 'i', 'n', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'D', 'a', 't', 'a', 0,
    'c', 'h', 'e', 'c', 'k', 'U', 's', 'a', 'g', 'e', 0,
    's', 'a', 'v', 'e', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'l', 'o', 'a', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'R', 'e', 'c', 't', 0,
    'f', 'o', 'r', 'm', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'd', 'a', 't', 'a', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'i', 't', 'e', 'm', 'A', 'p', 'p', 'e', 'a', 'r', 0,
    'F', 'i', 'l', 'e', 'S', 'y', 's', 't', 'e', 'm', 0,
    'F', 'u', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'p', 'l', 'u', 'g', 'i', 'n', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'L', 'i', 'c', 'e', 'n', 's', 'e', 0,
    'e', 'm', 'i', 't', 'R', 'e', 's', 'u', 'l', 't', 0,
    's', 'e', 't', 'P', 'e', 'r', 'c', 'e', 'n', 't', 0,
    'r', 'e', 'a', 'd', 'C', 'o', 'n', 'f', 'i', 'g', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 0,
    'f', 'o', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'T', 'a', 'b', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'T', 'a', 'b', 'T', 'e', 'x', 't', 0,
    'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's', 0,
    'e', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'l', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    't', 'e', 'x', 't', 'E', 'd', 'i', 't', 'e', 'd', 0,
    'E', 'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', 0,
    's', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'i', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 'A', 'r', 'e', 'a', 0,
    'n', 'u', 'm', 'S', 'c', 'r', 'e', 'e', 'n', 's', 0,
    's', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 0,
    's', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    'c', 'l', 'o', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'w', 'h', 'e', 'e', 'l', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    's', 'e', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'E', 'x', 'e', 'c', 'u', 't', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'i', 's', 'D', 'e', 't', 'a', 'c', 'h', 'e', 'd', 0,
    '_', '_', 'i', 'n', 'v', 'e', 'r', 't', '_', '_', 0,
    't', 'o', 't', 'a', 'l', 'T', 'i', 'm', 'e', 0,
    'P', 'l', 'a', 'y', 'P', 'a', 'u', 's', 'e', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'I', 'D', 0,
    'd', 'r', 'a', 'w', 'P', 'l', 'o', 't', 's', 0,
    't', 'h', 'i', 'n', 'F', 'r', 'a', 'm', 'e', 0,
    'l', 'a', 's', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'f', 'o', 'n', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'a', 'd', 'd', 'S', 'a', 'm', 'p', 'l', 'e', 0,
    'd', 'a', 'r', 'k', 'C', 'o', 'l', 'o', 'r', 0,
    'l', 'a', 'b', 'e', 'l', 'R', 'e', 'c', 't', 0,
    'l', 'a', 'b', 'e', 'l', 'F', 'o', 'n', 't', 0,
    'm', 'e', 't', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'I', 'n', 'h', 'i', 'b', 'i', 't', 'e', 'd', 0,
    't', 'h', 'e', 'm', 'e', 'N', 'a', 'm', 'e', 0,
    'i', 'm', 'a', 'g', 'e', 'P', 'a', 't', 'h', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'J', 'o', 'b', 0,
    's', 'e', 't', 'R', 'u', 'n', 'n', 'e', 'r', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'e', 't', 0,
    'e', 'x', 'e', 'c', 'Q', 'u', 'e', 'r', 'y', 0,
    'r', 'e', 'l', 'e', 'v', 'a', 'n', 'c', 'e', 0,
    'p', 'o', 'p', 'u', 'p', 'I', 'c', 'o', 'n', 0,
    'B', 'u', 't', 't', 'o', 'n', 'Y', 'e', 's', 0,
    'T', 'o', 'p', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'F', 'i', 'x', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'G', 'r', 'o', 'u', 'p', 'Z', 'o', 'o', 'm', 0,
    'R', 'i', 'g', 'h', 't', 'E', 'd', 'g', 'e', 0,
    'm', 'i', 'm', 'e', 't', 'y', 'p', 'e', 's', 0,
    's', 'e', 't', 'A', 'u', 't', 'h', 'o', 'r', 0,
    's', 't', 'r', 'u', 'c', 't', 'u', 'r', 'e', 0,
    'a', 'l', 'p', 'h', 'a', 'M', 'a', 's', 'k', 0,
    'T', 'o', 'p', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'N', 'o', 'B', 'o', 'r', 'd', 'e', 'r', 's', 0,
    'S', 'o', 'u', 't', 'h', 'W', 'e', 's', 't', 0,
    'N', 'o', 'r', 't', 'h', 'W', 'e', 's', 't', 0,
    'S', 'o', 'u', 't', 'h', 'E', 'a', 's', 't', 0,
    'N', 'o', 'r', 't', 'h', 'E', 'a', 's', 't', 0,
    'e', 'm', 'p', 't', 'y', 'R', 'e', 'c', 't', 0,
    'a', 'd', 'd', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'f', 'r', 'e', 'e', 'E', 'd', 'g', 'e', 's', 0,
    'w', 'a', 'l', 'l', 'p', 'a', 'p', 'e', 'r', 0,
    'a', 'd', 'd', 'A', 'p', 'p', 'l', 'e', 't', 0,
    'm', 'a', 'p', 'T', 'o', 'V', 'i', 'e', 'w', 0,
    'a', 'd', 'd', 'S', 'y', 'n', 't', 'a', 'x', 0,
    'S', 'l', 'o', 'w', 'S', 'p', 'e', 'e', 'd', 0,
    's', 'e', 't', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'e', 'm', 'i', 't', 'S', 'p', 'e', 'e', 'd', 0,
    'd', 'o', 'S', 'u', 's', 'p', 'e', 'n', 'd', 0,
    'g', 'r', 'o', 'u', 'p', 'L', 'i', 's', 't', 0,
    'm', 'a', 'i', 'n', 'F', 'r', 'a', 'm', 'e', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'i', 'z', 'e', 0,
    'a', 'u', 't', 'o', 'R', 'a', 'i', 's', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'a', 'b', 0,
    'i', 'n', 's', 'e', 'r', 't', 'T', 'a', 'b', 0,
    'm', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'a', 'w', 'I', 't', 'e', 'm', 's', 0,
    'd', 'r', 'a', 'w', 'F', 'r', 'a', 'm', 'e', 0,
    'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    's', 'e', 't', 'R', 'e', 's', 'u', 'l', 't', 0,
    's', 'e', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'h', 'i', 'd', 'e', 'P', 'o', 'p', 'u', 'p', 0,
    's', 'h', 'o', 'w', 'P', 'o', 'p', 'u', 'p', 0,
    's', 'a', 'v', 'e', 'S', 't', 'a', 't', 'e', 0,
    'a', 'd', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'h', 'o', 'w', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'i', 'd', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'a', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'd', 'r', 'o', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'e', 'l', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'i', 's', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'i', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'e', 'd', 0,
    'i', 's', 'R', 'u', 'n', 'n', 'i', 'n', 'g', 0,
    'e', 'n', 't', 'r', 'y', 'L', 'i', 's', 't', 0,
    'O', 'p', 'e', 'n', 'F', 'i', 'l', 'e', 0,
    'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 0,
    's', 'c', 'a', 'l', 'e', 'd', 'B', 'y', 0,
    'i', 'n', 'f', 'o', 'T', 'e', 'x', 't', 0,
    'a', 'u', 't', 'o', 'h', 'i', 'd', 'e', 0,
    'm', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'T', 'h', 'e', 'm', 'e', 0,
    'a', 'd', 'd', 'M', 'a', 't', 'c', 'h', 0,
    'B', 'u', 't', 't', 'o', 'n', 'N', 'o', 0,
    'B', 'u', 't', 't', 'o', 'n', 'O', 'k', 0,
    'L', 'e', 'f', 't', 'E', 'd', 'g', 'e', 0,
    'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'E', 'm', 'a', 'i', 'l', 0,
    'm', 'e', 't', 'a', 'd', 'a', 't', 'a', 0,
    'N', 'o', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'a', 'u', 't', 'o', 'H', 'i', 'd', 'e', 0,
    'N', 'o', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'a', 'c', 't', 'i', 'v', 'i', 't', 'y', 0,
    'e', 'x', 't', 'e', 'n', 'd', 'e', 'r', 0,
    'm', 'o', 'v', 'e', 'I', 't', 'e', 'm', 0,
    's', 'y', 'n', 't', 'a', 'x', 'e', 's', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'd', 'o', 'R', 'e', 's', 'u', 'm', 'e', 0,
    's', 'e', 't', 'Q', 'u', 'e', 'r', 'y', 0,
    'k', 'e', 'y', 'w', 'o', 'r', 'd', 's', 0,
    'f', 'i', 'n', 'd', 'I', 't', 'e', 'm', 0,
    'h', 'a', 's', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'V', 'a', 'l', 'i', 'd', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 0,
    's', 'e', 't', 'S', 'p', 'e', 'e', 'd', 0,
    's', 'e', 't', 'T', 'i', 't', 'l', 'e', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'I', 'm', 'a', 'g', 'e', 0,
    's', 'e', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'p', 'a', 'g', 'e', 'S', 't', 'e', 'p', 0,
    's', 'e', 't', 'R', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'i', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    's', 'e', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'f', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'f', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    's', 'e', 't', 'E', 'r', 'r', 'o', 'r', 0,
    '_', '_', 'b', 'o', 'o', 'l', '_', '_', 0,
    '_', '_', 'i', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'a', 'n', 'd', '_', '_', 0,
    's', 'e', 't', 'U', 'n', 'i', 't', 0,
    'a', 'd', 'd', 'P', 'l', 'o', 't', 0,
    'f', 'a', 'd', 'e', 'O', 'u', 't', 0,
    's', 'u', 'b', 'T', 'e', 'x', 't', 0,
    'r', 'u', 'n', 'n', 'e', 'r', 's', 0,
    's', 'u', 'b', 't', 'e', 'x', 't', 0,
    'v', 'i', 'e', 'w', 'F', 'o', 'r', 0,
    'M', 'u', 't', 'a', 'b', 'l', 'e', 0,
    'T', 'o', 'p', 'E', 'd', 'g', 'e', 0,
    'i', 's', 'G', 'r', 'o', 'u', 'p', 0,
    'a', 'p', 'p', 'l', 'e', 't', 's', 0,
    's', 'e', 't', 'B', 'u', 's', 'y', 0,
    'b', 'i', 'g', 'L', 'o', 'c', 'k', 0,
    'p', 'a', 'c', 'k', 'a', 'g', 'e', 0,
    'h', 'a', 's', 'I', 't', 'e', 'm', 0,
    'w', 'e', 'b', 's', 'i', 't', 'e', 0,
    'l', 'i', 'c', 'e', 'n', 's', 'e', 0,
    's', 'e', 't', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'P', 'a', 'g', 'e', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 0,
    't', 'a', 'b', 'I', 'c', 'o', 'n', 0,
    't', 'a', 'b', 'T', 'e', 'x', 't', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 0,
    'r', 'e', 's', 't', 'o', 'r', 'e', 0,
    'Z', 'o', 'o', 'm', 'O', 'u', 't', 0,
    'N', 'o', 'M', 'a', 't', 'c', 'h', 0,
    'd', 'e', 'v', 'T', 'y', 'p', 'e', 0,
    'a', 'd', 'v', 'a', 'n', 'c', 'e', 0,
    'm', 'a', 't', 'c', 'h', 'e', 's', 0,
    'a', 'd', 'd', 'I', 't', 'e', 'm', 0,
    'd', 'e', 's', 'k', 't', 'o', 'p', 0,
    'a', 'c', 't', 'i', 'o', 'n', 's', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'd', 0,
    'c', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'H', 't', 'm', 'l', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'P', 'a', 't', 'h', 0,
    'v', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'i', 's', 'E', 'm', 'p', 't', 'y', 0,
    's', 'e', 't', 'D', 'a', 't', 'a', 0,
    'i', 's', 'V', 'a', 'l', 'i', 'd', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    'V', 'o', 'l', 'u', 'm', 'e', 0,
    's', 'e', 't', 'S', 'v', 'g', 0,
    'f', 'a', 'd', 'e', 'I', 'n', 0,
    'a', 'p', 'p', 'l', 'e', 't', 0,
    'r', 'u', 'n', 'n', 'e', 'r', 0,
    'N', 'o', 'F', 'l', 'i', 'p', 0,
    'P', 'l', 'a', 'n', 'a', 'r', 0,
    'e', 'n', 'g', 'i', 'n', 'e', 0,
    'c', 'o', 'r', 'o', 'n', 'a', 0,
    'i', 's', 'B', 'u', 's', 'y', 0,
    'P', 'l', 'a', 's', 'm', 'a', 0,
    'g', 'r', 'o', 'u', 'p', 's', 0,
    'a', 'u', 't', 'h', 'o', 'r', 0,
    'd', 'o', 'K', 'i', 'l', 'l', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 0,
    'r', 'a', 'i', 's', 'e', '_', 0,
    'a', 'd', 'd', 'T', 'a', 'b', 0,
    'Z', 'o', 'o', 'm', 'I', 'n', 0,
    'm', 'e', 't', 'r', 'i', 'c', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 0,
    'S', 'u', 'n', 'k', 'e', 'n', 0,
    'R', 'a', 'i', 's', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'o', 'n', 0,
    's', 'c', 'r', 'e', 'e', 'n', 0,
    'w', 'i', 'd', 'g', 'e', 't', 0,
    'p', 'i', 'x', 'm', 'a', 'p', 0,
    'u', 'p', 'd', 'a', 't', 'e', 0,
    'i', 's', 'D', 'o', 'w', 'n', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    's', 'e', 't', 'U', 'r', 'l', 0,
    'r', 'e', 's', 'u', 'l', 't', 0,
    '_', '_', 'g', 'e', '_', '_', 0,
    'r', 'e', 's', 'i', 'z', 'e', 0,
    '_', '_', 'l', 't', '_', '_', 0,
    'c', 'r', 'e', 'a', 't', 'e', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    '_', '_', 'o', 'r', '_', '_', 0,
    'p', 'a', 'u', 's', 'e', 0,
    'f', 'l', 'a', 's', 'h', 0,
    't', 'h', 'e', 'm', 'e', 0,
    'e', 'm', 'a', 'i', 'l', 0,
    'l', 'a', 'b', 'e', 'l', 0,
    'l', 'o', 'w', 'e', 'r', 0,
    's', 'p', 'e', 'e', 'd', 0,
    't', 'i', 't', 'l', 'e', 0,
    'i', 't', 'e', 'm', 's', 0,
    'P', 'l', 'a', 'i', 'n', 0,
    's', 'h', 'a', 'p', 'e', 0,
    'i', 'm', 'a', 'g', 'e', 0,
    's', 'e', 't', 'I', 'd', 0,
    'c', 'o', 'l', 'o', 'r', 0,
    'p', 'a', 'i', 'n', 't', 0,
    's', 'c', 'a', 'l', 'e', 0,
    's', 't', 'a', 't', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 0,
    'q', 'u', 'e', 'r', 'y', 0,
    'f', 'i', 'l', 'e', 's', 0,
    'g', 'r', 'o', 'u', 'p', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'R', 'i', 'g', 'h', 't', 0,
    'c', 'l', 'e', 'a', 'r', 0,
    'c', 'o', 'u', 'n', 't', 0,
    's', 't', 'a', 'r', 't', 0,
    'r', 'e', 's', 'e', 't', 0,
    'm', 'a', 't', 'c', 'h', 0,
    'm', 'o', 'd', 'e', 'l', 0,
    'w', 'r', 'i', 't', 'e', 0,
    't', 'i', 'c', 'k', 0,
    'P', 'l', 'a', 'y', 0,
    'u', 'n', 'i', 't', 0,
    'N', 'e', 'x', 't', 0,
    'S', 't', 'o', 'p', 0,
    'p', 'a', 'g', 'e', 0,
    'L', 'e', 'f', 't', 0,
    'i', 'n', 'i', 't', 0,
    'p', 'l', 'a', 'y', 0,
    'i', 't', 'e', 'm', 0,
    's', 'h', 'o', 'w', 0,
    'H', 'e', 'l', 'p', 0,
    'm', 'a', 's', 'k', 0,
    'f', 'o', 'n', 't', 0,
    'i', 'c', 'o', 'n', 0,
    's', 'a', 'v', 'e', 0,
    'k', 'i', 'l', 'l', 0,
    'h', 't', 'm', 'l', 0,
    'n', 'a', 'm', 'e', 0,
    'l', 'o', 'a', 'd', 0,
    's', 't', 'o', 'p', 0,
    'p', 'a', 't', 'h', 0,
    'r', 'e', 'a', 'd', 0,
    's', 'e', 'e', 'k', 0,
    's', 'v', 'g', 0,
    'u', 'r', 'l', 0,
    'A', 'l', 'l', 0,
    'r', 'u', 'n', 0,
    'U', 'p', 0,
};

void sipVH_plasma_0(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::Containment *a0)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",a0,sipType_Plasma_Containment,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

Plasma::ServiceJob * sipVH_plasma_1(sip_gilstate_t sipGILState,PyObject *sipMethod,const QString& a0,QMap<QString,QVariant>& a1)
{
    Plasma::ServiceJob * sipRes = 0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"DD",const_cast<QString *>(&a0),sipType_QString,NULL,&a1,sipType_QMap_0200QString_0200QVariant,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D4",sipType_Plasma_ServiceJob,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

const Plasma::Package * sipVH_plasma_2(sip_gilstate_t sipGILState,PyObject *sipMethod)
{
    Plasma::Package * sipRes = 0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"");

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D4",sipType_Plasma_Package,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_plasma_3(sip_gilstate_t sipGILState,PyObject *sipMethod,const Plasma::RunnerContext& a0,const Plasma::QueryMatch& a1)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"DD",const_cast<Plasma::RunnerContext *>(&a0),sipType_Plasma_RunnerContext,NULL,const_cast<Plasma::QueryMatch *>(&a1),sipType_Plasma_QueryMatch,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

void sipVH_plasma_4(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::RunnerContext& a0)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",&a0,sipType_Plasma_RunnerContext,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

Plasma::Service * sipVH_plasma_5(sip_gilstate_t sipGILState,PyObject *sipMethod,const QString& a0)
{
    Plasma::Service * sipRes = 0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",const_cast<QString *>(&a0),sipType_QString,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D4",sipType_Plasma_Service,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_plasma_6(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::Constraints a0)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",&a0,sipType_Plasma_Constraints,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

void sipVH_plasma_7(sip_gilstate_t sipGILState,PyObject *sipMethod,QPainter *a0,const QStyleOptionGraphicsItem *a1,const QRect& a2)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"DDD",a0,sipType_QPainter,NULL,const_cast<QStyleOptionGraphicsItem *>(a1),sipType_QStyleOptionGraphicsItem,NULL,const_cast<QRect *>(&a2),sipType_QRect,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

QGraphicsWidget * sipVH_plasma_8(sip_gilstate_t sipGILState,PyObject *sipMethod)
{
    QGraphicsWidget * sipRes = 0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"");

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D4",sipType_QGraphicsWidget,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_plasma_9(sip_gilstate_t sipGILState,PyObject *sipMethod,QPainter *a0,const QStyleOptionGraphicsItem *a1)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"DD",a0,sipType_QPainter,NULL,const_cast<QStyleOptionGraphicsItem *>(a1),sipType_QStyleOptionGraphicsItem,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

Plasma::FrameSvg::EnabledBorders sipVH_plasma_10(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::ExtenderItem *a0)
{
    Plasma::FrameSvg::EnabledBorders sipRes;
    Plasma::FrameSvg::EnabledBorders *sipResOrig;
    int sipResState;
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",a0,sipType_Plasma_ExtenderItem,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D1",sipType_Plasma_FrameSvg_EnabledBorders,&sipResState,&sipResOrig) < 0)
        PyErr_Print();
    else
    {
        sipRes = *sipResOrig;
        sipReleaseType(sipResOrig,sipType_Plasma_FrameSvg_EnabledBorders,sipResState);
    }

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_plasma_11(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::ExtenderItem *a0)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",a0,sipType_Plasma_ExtenderItem,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

void sipVH_plasma_12(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::ExtenderItem *a0,const QPointF& a1)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"DD",a0,sipType_Plasma_ExtenderItem,NULL,const_cast<QPointF *>(&a1),sipType_QPointF,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

QRegion sipVH_plasma_13(sip_gilstate_t sipGILState,PyObject *sipMethod,int a0)
{
    QRegion sipRes;
    QRegion *sipResOrig;
    PyObject *resObj = sipCallMethod(0,sipMethod,"i",a0);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D5",sipType_QRegion,&sipResOrig) < 0)
        PyErr_Print();
    else
    {
        sipRes = *sipResOrig;
    }

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

QRect sipVH_plasma_14(sip_gilstate_t sipGILState,PyObject *sipMethod,int a0)
{
    QRect sipRes;
    QRect *sipResOrig;
    PyObject *resObj = sipCallMethod(0,sipMethod,"i",a0);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D5",sipType_QRect,&sipResOrig) < 0)
        PyErr_Print();
    else
    {
        sipRes = *sipResOrig;
    }

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_plasma_15(sip_gilstate_t sipGILState,PyObject *sipMethod,const QPoint a0)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",const_cast<QPoint *>(&a0),sipType_QPoint,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

void sipVH_plasma_16(sip_gilstate_t sipGILState,PyObject *sipMethod,KConfigDialog *a0)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",a0,sipType_KConfigDialog,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

Plasma::Location sipVH_plasma_17(sip_gilstate_t sipGILState,PyObject *sipMethod)
{
    Plasma::Location sipRes = (Plasma::Location)0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"");

    if (!resObj || sipParseResult(0,sipMethod,resObj,"F",sipType_Plasma_Location,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

Plasma::FormFactor sipVH_plasma_18(sip_gilstate_t sipGILState,PyObject *sipMethod)
{
    Plasma::FormFactor sipRes = (Plasma::FormFactor)0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"");

    if (!resObj || sipParseResult(0,sipMethod,resObj,"F",sipType_Plasma_FormFactor,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

void sipVH_plasma_19(sip_gilstate_t sipGILState,PyObject *sipMethod,double a0,QGraphicsItem *a1,const QPoint& a2,const QPoint& a3)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"dDDD",a0,a1,sipType_QGraphicsItem,NULL,const_cast<QPoint *>(&a2),sipType_QPoint,NULL,const_cast<QPoint *>(&a3),sipType_QPoint,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

void sipVH_plasma_20(sip_gilstate_t sipGILState,PyObject *sipMethod,double a0,QGraphicsItem *a1)
{
    PyObject *resObj = sipCallMethod(0,sipMethod,"dD",a0,a1,sipType_QGraphicsItem,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"Z") < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)
}

QPixmap sipVH_plasma_21(sip_gilstate_t sipGILState,PyObject *sipMethod,double a0,const QPixmap& a1)
{
    QPixmap sipRes;
    QPixmap *sipResOrig;
    PyObject *resObj = sipCallMethod(0,sipMethod,"dD",a0,const_cast<QPixmap *>(&a1),sipType_QPixmap,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D5",sipType_QPixmap,&sipResOrig) < 0)
        PyErr_Print();
    else
    {
        sipRes = *sipResOrig;
    }

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

Plasma::Animator::CurveShape sipVH_plasma_22(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::Animator::Animation a0)
{
    Plasma::Animator::CurveShape sipRes = (Plasma::Animator::CurveShape)0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"F",a0,sipType_Plasma_Animator_Animation);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"F",sipType_Plasma_Animator_CurveShape,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

Plasma::Animator::CurveShape sipVH_plasma_23(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::Animator::Movement a0)
{
    Plasma::Animator::CurveShape sipRes = (Plasma::Animator::CurveShape)0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"F",a0,sipType_Plasma_Animator_Movement);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"F",sipType_Plasma_Animator_CurveShape,&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

int sipVH_plasma_24(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::Animator::Animation a0)
{
    int sipRes = 0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"F",a0,sipType_Plasma_Animator_Animation);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"i",&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

int sipVH_plasma_25(sip_gilstate_t sipGILState,PyObject *sipMethod,Plasma::Animator::Movement a0)
{
    int sipRes = 0;
    PyObject *resObj = sipCallMethod(0,sipMethod,"F",a0,sipType_Plasma_Animator_Movement);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"i",&sipRes) < 0)
        PyErr_Print();

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

QList<QAction *> sipVH_plasma_26(sip_gilstate_t sipGILState,PyObject *sipMethod,const Plasma::QueryMatch& a0)
{
    QList<QAction *> sipRes;
    QList<QAction *> *sipResOrig;
    PyObject *resObj = sipCallMethod(0,sipMethod,"D",const_cast<Plasma::QueryMatch *>(&a0),sipType_Plasma_QueryMatch,NULL);

    if (!resObj || sipParseResult(0,sipMethod,resObj,"D5",sipType_QList_0201QAction,&sipResOrig) < 0)
        PyErr_Print();
    else
    {
        sipRes = *sipResOrig;
        delete sipResOrig;
    }

    Py_XDECREF(resObj);
    Py_DECREF(sipMethod);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}


/* Convert to a sub-class if possible. */
extern "C" {static const sipTypeDef *sipSubClass_Plasma_AbstractRunner(void **);}
static const sipTypeDef *sipSubClass_Plasma_AbstractRunner(void **sipCppRet)
{
    QObject *sipCpp = reinterpret_cast<QObject *>(*sipCppRet);
    sipWrapperType *sipClass;

#line 155 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"

    sipClass = NULL;

    if (dynamic_cast<Plasma::AbstractRunner*>(sipCpp))
        sipClass = sipClass_Plasma_AbstractRunner;
    else if (dynamic_cast<Plasma::AnimationDriver*>(sipCpp))
        sipClass = sipClass_Plasma_AnimationDriver;
    else if (dynamic_cast<Plasma::Animator*>(sipCpp))
        sipClass = sipClass_Plasma_Animator;
    else if (dynamic_cast<Plasma::Applet*>(sipCpp))
        {
            sipClass = sipClass_Plasma_Applet;
            if (dynamic_cast<Plasma::Containment*>(sipCpp))
                sipClass = sipClass_Plasma_Containment;
            else if (dynamic_cast<Plasma::GLApplet*>(sipCpp))
                sipClass = sipClass_Plasma_GLApplet;
            else if (dynamic_cast<Plasma::PopupApplet*>(sipCpp))
                sipClass = sipClass_Plasma_PopupApplet;
        }
    else if (dynamic_cast<Plasma::BusyWidget*>(sipCpp))
        sipClass = sipClass_Plasma_BusyWidget;
    else if (dynamic_cast<Plasma::CheckBox*>(sipCpp))
        sipClass = sipClass_Plasma_CheckBox;
    else if (dynamic_cast<Plasma::ComboBox*>(sipCpp))
        sipClass = sipClass_Plasma_ComboBox;
    else if (dynamic_cast<Plasma::ConfigLoader*>(sipCpp))
        sipClass = sipClass_Plasma_ConfigLoader;
    else if (dynamic_cast<Plasma::Context*>(sipCpp))
        sipClass = sipClass_Plasma_Context;
    else if (dynamic_cast<Plasma::Corona*>(sipCpp))
        sipClass = sipClass_Plasma_Corona;
    else if (dynamic_cast<Plasma::DataContainer*>(sipCpp))
        sipClass = sipClass_Plasma_DataContainer;
    else if (dynamic_cast<Plasma::DataEngine*>(sipCpp))
        sipClass = sipClass_Plasma_DataEngine;
    else if (dynamic_cast<Plasma::DataEngineManager*>(sipCpp))
        sipClass = sipClass_Plasma_DataEngineManager;
    else if (dynamic_cast<Plasma::Delegate*>(sipCpp))
        sipClass = sipClass_Plasma_Delegate;
    else if (dynamic_cast<Plasma::Dialog*>(sipCpp))
        sipClass = sipClass_Plasma_Dialog;
    else if (dynamic_cast<Plasma::Extender*>(sipCpp))
        sipClass = sipClass_Plasma_Extender;
    else if (dynamic_cast<Plasma::ExtenderItem*>(sipCpp))
        {
            sipClass = sipClass_Plasma_ExtenderItem;
            if (dynamic_cast<Plasma::ExtenderGroup*>(sipCpp))
                sipClass = sipClass_Plasma_ExtenderGroup;
        }
    else if (dynamic_cast<Plasma::FlashingLabel*>(sipCpp))
        sipClass = sipClass_Plasma_FlashingLabel;
    else if (dynamic_cast<Plasma::Frame*>(sipCpp))
        sipClass = sipClass_Plasma_Frame;
    else if (dynamic_cast<Plasma::GroupBox*>(sipCpp))
        sipClass = sipClass_Plasma_GroupBox;
    else if (dynamic_cast<Plasma::IconWidget*>(sipCpp))
        sipClass = sipClass_Plasma_IconWidget;
    else if (dynamic_cast<Plasma::Label*>(sipCpp))
        sipClass = sipClass_Plasma_Label;
    else if (dynamic_cast<Plasma::LineEdit*>(sipCpp))
        sipClass = sipClass_Plasma_LineEdit;
    else if (dynamic_cast<Plasma::Meter*>(sipCpp))
        sipClass = sipClass_Plasma_Meter;
    else if (dynamic_cast<Plasma::PackageStructure*>(sipCpp))
        sipClass = sipClass_Plasma_PackageStructure;
    else if (dynamic_cast<Plasma::PushButton*>(sipCpp))
        sipClass = sipClass_Plasma_PushButton;
    else if (dynamic_cast<Plasma::RadioButton*>(sipCpp))
        sipClass = sipClass_Plasma_RadioButton;
    else if (dynamic_cast<Plasma::RunnerContext*>(sipCpp))
        sipClass = sipClass_Plasma_RunnerContext;
    else if (dynamic_cast<Plasma::RunnerManager*>(sipCpp))
        sipClass = sipClass_Plasma_RunnerManager;
    else if (dynamic_cast<Plasma::ScriptEngine*>(sipCpp))
        {
            sipClass = sipClass_Plasma_ScriptEngine;
            if (dynamic_cast<Plasma::AppletScript*>(sipCpp))
                sipClass = sipClass_Plasma_AppletScript;
            else if (dynamic_cast<Plasma::DataEngineScript*>(sipCpp))
                sipClass = sipClass_Plasma_DataEngineScript;
            else if (dynamic_cast<Plasma::RunnerScript*>(sipCpp))
                sipClass = sipClass_Plasma_RunnerScript;
        }
    else if (dynamic_cast<Plasma::ScrollBar*>(sipCpp))
        sipClass = sipClass_Plasma_ScrollBar;
    else if (dynamic_cast<Plasma::ScrollWidget*>(sipCpp))
        sipClass = sipClass_Plasma_ScrollWidget;
    else if (dynamic_cast<Plasma::Service*>(sipCpp))
        sipClass = sipClass_Plasma_Service;
    else if (dynamic_cast<Plasma::ServiceJob*>(sipCpp))
        sipClass = sipClass_Plasma_ServiceJob;
    else if (dynamic_cast<Plasma::SignalPlotter*>(sipCpp))
        sipClass = sipClass_Plasma_SignalPlotter;
    else if (dynamic_cast<Plasma::Slider*>(sipCpp))
        sipClass = sipClass_Plasma_Slider;
    else if (dynamic_cast<Plasma::SpinBox*>(sipCpp))
        sipClass = sipClass_Plasma_SpinBox;
    else if (dynamic_cast<Plasma::Svg*>(sipCpp))
        {
            sipClass = sipClass_Plasma_Svg;
            if (dynamic_cast<Plasma::FrameSvg*>(sipCpp))
                sipClass = sipClass_Plasma_FrameSvg;
        }
    else if (dynamic_cast<Plasma::SvgWidget*>(sipCpp))
        sipClass = sipClass_Plasma_SvgWidget;
    else if (dynamic_cast<Plasma::TabBar*>(sipCpp))
        sipClass = sipClass_Plasma_TabBar;
    else if (dynamic_cast<Plasma::TextBrowser*>(sipCpp))
        sipClass = sipClass_Plasma_TextBrowser;
    else if (dynamic_cast<Plasma::TextEdit*>(sipCpp))
        sipClass = sipClass_Plasma_TextEdit;
    else if (dynamic_cast<Plasma::Theme*>(sipCpp))
        sipClass = sipClass_Plasma_Theme;
    else if (dynamic_cast<Plasma::ToolButton*>(sipCpp))
        sipClass = sipClass_Plasma_ToolButton;
    else if (dynamic_cast<Plasma::ToolTipManager*>(sipCpp))
        sipClass = sipClass_Plasma_ToolTipManager;
    else if (dynamic_cast<Plasma::ToolTipManager*>(sipCpp))
        sipClass = sipClass_Plasma_ToolTipManager;
    else if (dynamic_cast<Plasma::TreeView*>(sipCpp))
        sipClass = sipClass_Plasma_TreeView;
    else if (dynamic_cast<Plasma::VideoWidget*>(sipCpp))
        sipClass = sipClass_Plasma_VideoWidget;
    else if (dynamic_cast<Plasma::View*>(sipCpp))
        sipClass = sipClass_Plasma_View;
    else if (dynamic_cast<Plasma::Wallpaper*>(sipCpp))
        sipClass = sipClass_Plasma_Wallpaper;
    else if (dynamic_cast<Plasma::WebView*>(sipCpp))
        sipClass = sipClass_Plasma_WebView;
#line 1975 "sipplasmapart0.cpp"

    return (sipClass ? sipClass->type : 0);
}
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__VideoWidget__Control, {0}}, sipNameNr_Control, 109, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Meter__MeterType, {0}}, sipNameNr_MeterType, 67, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Frame__Shadow, {0}}, sipNameNr_Shadow, 50, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Wallpaper__ResizeMethod, {0}}, sipNameNr_ResizeMethod, 113, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ToolTipManager__State, {0}}, sipNameNr_State, 106, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ToolTipContent__ResourceType, {0}}, sipNameNr_ResourceType, 104, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Theme__FontRole, {0}}, sipNameNr_FontRole, 100, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Theme__ColorRole, {0}}, sipNameNr_ColorRole, 100, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__RunnerContext__Type, {0}}, sipNameNr_Type, 81, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__QueryMatch__Type, {0}}, sipNameNr_Type, 78, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__MessageButton, {0}}, sipNameNr_MessageButton, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__MarginEdge, {0}}, sipNameNr_MarginEdge, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ComponentType, {0}}, sipNameNr_ComponentType, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__AspectRatioMode, {0}}, sipNameNr_AspectRatioMode, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ImmutabilityType, {0}}, sipNameNr_ImmutabilityType, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ItemTypes, {0}}, sipNameNr_ItemTypes, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__IntervalAlignment, {0}}, sipNameNr_IntervalAlignment, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ZoomLevel, {0}}, sipNameNr_ZoomLevel, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__FlipDirection, {0}}, sipNameNr_FlipDirection, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__PopupPlacement, {0}}, sipNameNr_PopupPlacement, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Position, {0}}, sipNameNr_Position, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Location, {0}}, sipNameNr_Location, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__ZoomDirection, {0}}, sipNameNr_ZoomDirection, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Direction, {0}}, sipNameNr_Direction, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__FormFactor, {0}}, sipNameNr_FormFactor, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Constraint, {0}}, sipNameNr_Constraint, 1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__FrameSvg__EnabledBorder, {0}}, sipNameNr_EnabledBorder, 52, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Extender__Appearance, {0}}, sipNameNr_Appearance, 42, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Dialog__ResizeCorner, {0}}, sipNameNr_ResizeCorner, 38, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Delegate__ColumnType, {0}}, sipNameNr_ColumnType, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Delegate__SpecificRoles, {0}}, sipNameNr_SpecificRoles, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Containment__Type, {0}}, sipNameNr_Type, 24, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Containment__StyleOption__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Containment__StyleOption__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Applet__BackgroundHint, {0}}, sipNameNr_BackgroundHint, 10, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Animator__Movement, {0}}, sipNameNr_Movement, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Animator__CurveShape, {0}}, sipNameNr_CurveShape, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__Animator__Animation, {0}}, sipNameNr_Animation, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__AbstractRunner__Priority, {0}}, sipNameNr_Priority, 2, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Plasma__AbstractRunner__Speed, {0}}, sipNameNr_Speed, 2, NULL},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &pyqt4MappedTypeDef_plasma_KSharedPtr_0200Plasma_PackageStructure.super.mtd_base,
    &pyqt4Type_plasma_Plasma.super.ctd_base,
    &pyqt4Type_plasma_Plasma_AbstractRunner.super.ctd_base,
    &enumTypes[38].etd_base,
    &enumTypes[39].etd_base,
    &pyqt4Type_plasma_Plasma_AnimationDriver.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Animator.super.ctd_base,
    &enumTypes[37].etd_base,
    &enumTypes[36].etd_base,
    &enumTypes[35].etd_base,
    &pyqt4Type_plasma_Plasma_Applet.super.ctd_base,
    &enumTypes[34].etd_base,
    &pyqt4Type_plasma_Plasma_Applet_BackgroundHints.super.ctd_base,
    &pyqt4Type_plasma_Plasma_AppletProtectedThunk.super.ctd_base,
    &pyqt4Type_plasma_Plasma_AppletScript.super.ctd_base,
    &enumTypes[13].etd_base,
    &pyqt4Type_plasma_Plasma_BusyWidget.super.ctd_base,
    &pyqt4Type_plasma_Plasma_CheckBox.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ComboBox.super.ctd_base,
    &enumTypes[12].etd_base,
    &pyqt4Type_plasma_Plasma_ComponentTypes.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ConfigLoader.super.ctd_base,
    &enumTypes[25].etd_base,
    &pyqt4Type_plasma_Plasma_Constraints.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Containment.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Containment_StyleOption.super.ctd_base,
    &enumTypes[33].etd_base,
    &enumTypes[32].etd_base,
    &enumTypes[31].etd_base,
    &pyqt4Type_plasma_Plasma_Context.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Corona.super.ctd_base,
    &pyqt4Type_plasma_Plasma_DataContainer.super.ctd_base,
    &pyqt4Type_plasma_Plasma_DataEngine.super.ctd_base,
    &pyqt4Type_plasma_Plasma_DataEngineManager.super.ctd_base,
    &pyqt4Type_plasma_Plasma_DataEngineScript.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Delegate.super.ctd_base,
    &enumTypes[29].etd_base,
    &enumTypes[30].etd_base,
    &pyqt4Type_plasma_Plasma_Dialog.super.ctd_base,
    &enumTypes[28].etd_base,
    &pyqt4Type_plasma_Plasma_Dialog_ResizeCorners.super.ctd_base,
    &enumTypes[23].etd_base,
    &pyqt4Type_plasma_Plasma_Extender.super.ctd_base,
    &enumTypes[27].etd_base,
    &pyqt4Type_plasma_Plasma_ExtenderGroup.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ExtenderItem.super.ctd_base,
    &pyqt4Type_plasma_Plasma_FlashingLabel.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Flip.super.ctd_base,
    &enumTypes[18].etd_base,
    &enumTypes[24].etd_base,
    &pyqt4Type_plasma_Plasma_Frame.super.ctd_base,
    &enumTypes[2].etd_base,
    &pyqt4Type_plasma_Plasma_FrameSvg.super.ctd_base,
    &enumTypes[26].etd_base,
    &pyqt4Type_plasma_Plasma_FrameSvg_EnabledBorders.super.ctd_base,
    &pyqt4Type_plasma_Plasma_GLApplet.super.ctd_base,
    &pyqt4Type_plasma_Plasma_GroupBox.super.ctd_base,
    &pyqt4Type_plasma_Plasma_IconWidget.super.ctd_base,
    &enumTypes[14].etd_base,
    &enumTypes[16].etd_base,
    &enumTypes[15].etd_base,
    &pyqt4Type_plasma_Plasma_Label.super.ctd_base,
    &pyqt4Type_plasma_Plasma_LineEdit.super.ctd_base,
    &enumTypes[21].etd_base,
    &enumTypes[11].etd_base,
    &enumTypes[10].etd_base,
    &pyqt4Type_plasma_Plasma_MessageButtons.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Meter.super.ctd_base,
    &enumTypes[1].etd_base,
    &pyqt4Type_plasma_Plasma_Package.super.ctd_base,
    &pyqt4Type_plasma_Plasma_PackageMetadata.super.ctd_base,
    &pyqt4Type_plasma_Plasma_PackageStructure.super.ctd_base,
    &pyqt4Type_plasma_Plasma_PaintUtils.super.ctd_base,
    &pyqt4Type_plasma_Plasma_PlotColor.super.ctd_base,
    &pyqt4Type_plasma_Plasma_PopupApplet.super.ctd_base,
    &enumTypes[19].etd_base,
    &enumTypes[20].etd_base,
    &pyqt4Type_plasma_Plasma_PushButton.super.ctd_base,
    &pyqt4Type_plasma_Plasma_QueryMatch.super.ctd_base,
    &enumTypes[9].etd_base,
    &pyqt4Type_plasma_Plasma_RadioButton.super.ctd_base,
    &pyqt4Type_plasma_Plasma_RunnerContext.super.ctd_base,
    &enumTypes[8].etd_base,
    &pyqt4Type_plasma_Plasma_RunnerContext_Types.super.ctd_base,
    &pyqt4Type_plasma_Plasma_RunnerManager.super.ctd_base,
    &pyqt4Type_plasma_Plasma_RunnerScript.super.ctd_base,
    &pyqt4Type_plasma_Plasma_RunnerSyntax.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ScriptEngine.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ScrollBar.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ScrollWidget.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Service.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ServiceJob.super.ctd_base,
    &pyqt4Type_plasma_Plasma_SignalPlotter.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Slider.super.ctd_base,
    &pyqt4Type_plasma_Plasma_SpinBox.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Svg.super.ctd_base,
    &pyqt4Type_plasma_Plasma_SvgWidget.super.ctd_base,
    &pyqt4Type_plasma_Plasma_TabBar.super.ctd_base,
    &pyqt4Type_plasma_Plasma_TextBrowser.super.ctd_base,
    &pyqt4Type_plasma_Plasma_TextEdit.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Theme.super.ctd_base,
    &enumTypes[7].etd_base,
    &enumTypes[6].etd_base,
    &pyqt4Type_plasma_Plasma_ToolButton.super.ctd_base,
    &pyqt4Type_plasma_Plasma_ToolTipContent.super.ctd_base,
    &enumTypes[5].etd_base,
    &pyqt4Type_plasma_Plasma_ToolTipManager.super.ctd_base,
    &enumTypes[4].etd_base,
    &pyqt4Type_plasma_Plasma_TreeView.super.ctd_base,
    &pyqt4Type_plasma_Plasma_VideoWidget.super.ctd_base,
    &enumTypes[0].etd_base,
    &pyqt4Type_plasma_Plasma_VideoWidget_Controls.super.ctd_base,
    &pyqt4Type_plasma_Plasma_View.super.ctd_base,
    &pyqt4Type_plasma_Plasma_Wallpaper.super.ctd_base,
    &enumTypes[3].etd_base,
    &pyqt4Type_plasma_Plasma_WebView.super.ctd_base,
    &enumTypes[22].etd_base,
    &enumTypes[17].etd_base,
    &pyqt4MappedTypeDef_plasma_QHash_0200QString_0201Plasma_Applet.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QHash_0200QString_0201Plasma_DataContainer.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QHash_0200QString_0201Plasma_DataEngine.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QHash_0200QString_0201QAction.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0201Plasma_AbstractRunner.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0201Plasma_Applet.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0201Plasma_Containment.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0201Plasma_ExtenderGroup.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0201Plasma_ExtenderItem.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0500Plasma_Location.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0200Plasma_PlotColor.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0200Plasma_QueryMatch.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_0200Plasma_RunnerSyntax.super.mtd_base,
    &pyqt4MappedTypeDef_plasma_QList_1411.super.mtd_base,
};


/*
 * These define each typedef in this module.
 */
static sipTypedefDef typedefsTable[] = {
    {"Plasma::AbstractRunner::List", "QList<Plasma::AbstractRunner *>"},
    {"Plasma::Applet::Dict", "QHash<QString,Plasma::Applet *>"},
    {"Plasma::Applet::List", "QList<Plasma::Applet *>"},
    {"Plasma::DataEngine::Data", "QHash<QString,QVariant>"},
    {"Plasma::DataEngine::Dict", "QHash<QString,Plasma::DataEngine *>"},
    {"Plasma::DataEngine::SourceDict", "QHash<QString,Plasma::DataContainer *>"},
    {"Plasma::PackageStructure::Ptr", "KSharedPtr<Plasma::PackageStructure>"},
};


/*
 * This defines the virtual handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_plasma_0,
    (sipVirtHandlerFunc)sipVH_plasma_1,
    (sipVirtHandlerFunc)sipVH_plasma_2,
    (sipVirtHandlerFunc)sipVH_plasma_3,
    (sipVirtHandlerFunc)sipVH_plasma_4,
    (sipVirtHandlerFunc)sipVH_plasma_5,
    (sipVirtHandlerFunc)sipVH_plasma_6,
    (sipVirtHandlerFunc)sipVH_plasma_7,
    (sipVirtHandlerFunc)sipVH_plasma_8,
    (sipVirtHandlerFunc)sipVH_plasma_9,
    (sipVirtHandlerFunc)sipVH_plasma_10,
    (sipVirtHandlerFunc)sipVH_plasma_11,
    (sipVirtHandlerFunc)sipVH_plasma_12,
    (sipVirtHandlerFunc)sipVH_plasma_13,
    (sipVirtHandlerFunc)sipVH_plasma_14,
    (sipVirtHandlerFunc)sipVH_plasma_15,
    (sipVirtHandlerFunc)sipVH_plasma_16,
    (sipVirtHandlerFunc)sipVH_plasma_17,
    (sipVirtHandlerFunc)sipVH_plasma_18,
    (sipVirtHandlerFunc)sipVH_plasma_19,
    (sipVirtHandlerFunc)sipVH_plasma_20,
    (sipVirtHandlerFunc)sipVH_plasma_21,
    (sipVirtHandlerFunc)sipVH_plasma_22,
    (sipVirtHandlerFunc)sipVH_plasma_23,
    (sipVirtHandlerFunc)sipVH_plasma_24,
    (sipVirtHandlerFunc)sipVH_plasma_25,
    (sipVirtHandlerFunc)sipVH_plasma_26,
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt4.QtCore", 0, NULL},
    {"PyQt4.QtNetwork", 0, NULL},
    {"PyQt4.QtGui", 0, NULL},
    {"PyKDE4.kdecore", -1, NULL},
    {"PyQt4.QtSvg", 0, NULL},
    {"PyQt4.QtXml", 0, NULL},
    {"PyKDE4.kdeui", -1, NULL},
    {"PyQt4.QtWebKit", 0, NULL},
    {NULL, -1, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_Plasma_AbstractRunner, {111, 0, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_plasma = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyKDE4_plasma,
    0,
    -1,
    sipStrings_plasma,
    importsTable,
    NULL,
    132,
    typesTable,
    NULL,
    0,
    NULL,
    7,
    typedefsTable,
    virtHandlersTable,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    0,
    0,
    0
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_plasma;
const sipExportedModuleDef *sipModuleAPI_plasma_QtCore;
const sipExportedModuleDef *sipModuleAPI_plasma_QtNetwork;
const sipExportedModuleDef *sipModuleAPI_plasma_QtGui;
const sipExportedModuleDef *sipModuleAPI_plasma_kdecore;
const sipExportedModuleDef *sipModuleAPI_plasma_QtSvg;
const sipExportedModuleDef *sipModuleAPI_plasma_QtXml;
const sipExportedModuleDef *sipModuleAPI_plasma_kdeui;
const sipExportedModuleDef *sipModuleAPI_plasma_QtWebKit;

sip_qt_metaobject_func sip_plasma_qt_metaobject;
sip_qt_metacall_func sip_plasma_qt_metacall;
sip_qt_metacast_func sip_plasma_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_plasma
#define SIP_MODULE_TYPE         PyObject *
#define SIP_MODULE_DISCARD(r)   Py_DECREF(r)
#define SIP_MODULE_RETURN(r)    return (r)
#else
#define SIP_MODULE_ENTRY        initplasma
#define SIP_MODULE_TYPE         void
#define SIP_MODULE_DISCARD(r)
#define SIP_MODULE_RETURN(r)    return
#endif

#if defined(SIP_STATIC_MODULE)
extern "C" SIP_MODULE_TYPE SIP_MODULE_ENTRY()
#else
PyMODINIT_FUNC SIP_MODULE_ENTRY()
#endif
{
    static PyMethodDef sip_methods[] = {
        {0, 0, 0, 0}
    };

#if PY_MAJOR_VERSION >= 3
    static PyModuleDef sip_module_def = {
        PyModuleDef_HEAD_INIT,
        "PyKDE4.plasma",
        NULL,
        -1,
        sip_methods,
        NULL,
        NULL,
        NULL,
        NULL
    };
#endif

    PyObject *sipModule, *sipModuleDict;
    PyObject *sip_sipmod, *sip_capiobj;

    /* Initialise the module and get it's dictionary. */
#if PY_MAJOR_VERSION >= 3
    sipModule = PyModule_Create(&sip_module_def);
#elif PY_VERSION_HEX >= 0x02050000
    sipModule = Py_InitModule(sipName_PyKDE4_plasma, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyKDE4_plasma), sip_methods);
#endif

    if (sipModule == NULL)
        SIP_MODULE_RETURN(NULL);

    sipModuleDict = PyModule_GetDict(sipModule);

    /* Import the SIP module and get it's API. */
#if PY_VERSION_HEX >= 0x02050000
    sip_sipmod = PyImport_ImportModule("sip");
#else
    sip_sipmod = PyImport_ImportModule(const_cast<char *>("sip"));
#endif

    if (sip_sipmod == NULL)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

    sip_capiobj = PyDict_GetItemString(PyModule_GetDict(sip_sipmod), "_C_API");

    if (sip_capiobj == NULL || !PyCObject_Check(sip_capiobj))
    {
        Py_DECREF(sip_sipmod);
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

    sipAPI_plasma = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));

    /* Export the module and publish it's API. */
    if (sipExportModule(&sipModuleAPI_plasma,SIP_API_MAJOR_NR,SIP_API_MINOR_NR,0) < 0)
    {
        Py_DECREF(sip_sipmod);
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    sip_plasma_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_plasma_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_plasma_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_plasma,sipModuleDict) < 0)
    {
        Py_DECREF(sip_sipmod);
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_plasma_QtCore = sipModuleAPI_plasma.em_imports[0].im_module;
    sipModuleAPI_plasma_QtNetwork = sipModuleAPI_plasma.em_imports[1].im_module;
    sipModuleAPI_plasma_QtGui = sipModuleAPI_plasma.em_imports[2].im_module;
    sipModuleAPI_plasma_kdecore = sipModuleAPI_plasma.em_imports[3].im_module;
    sipModuleAPI_plasma_QtSvg = sipModuleAPI_plasma.em_imports[4].im_module;
    sipModuleAPI_plasma_QtXml = sipModuleAPI_plasma.em_imports[5].im_module;
    sipModuleAPI_plasma_kdeui = sipModuleAPI_plasma.em_imports[6].im_module;
    sipModuleAPI_plasma_QtWebKit = sipModuleAPI_plasma.em_imports[7].im_module;

    SIP_MODULE_RETURN(sipModule);
}

#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2392 "sipplasmapart0.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 2396 "sipplasmapart0.cpp"


extern "C" {static void assign_KSharedPtr_0200Plasma_PackageStructure(void *, const void*);}
static void assign_KSharedPtr_0200Plasma_PackageStructure(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KSharedPtr<Plasma::PackageStructure> *>(sipDst) = *reinterpret_cast<const KSharedPtr<Plasma::PackageStructure> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_KSharedPtr_0200Plasma_PackageStructure(void *, int);}
static void release_KSharedPtr_0200Plasma_PackageStructure(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<KSharedPtr<Plasma::PackageStructure> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_KSharedPtr_0200Plasma_PackageStructure(PyObject *, void **, int *, PyObject *);}
static int convertTo_KSharedPtr_0200Plasma_PackageStructure(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
    KSharedPtr<Plasma::PackageStructure> **sipCppPtr = reinterpret_cast<KSharedPtr<Plasma::PackageStructure> **>(sipCppPtrV);

#line 241 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Convert a Python instance to a Ptr on the heap.

    if (sipIsErr == NULL)
        return PyInstance_Check(sipPy);

    int iserr = 0;
    Plasma::PackageStructure *cpp = (Plasma::PackageStructure *)sipForceConvertToInstance(sipPy, sipClass_Plasma_PackageStructure, NULL, 0, NULL, &iserr);

    if (iserr)
    {
        *sipIsErr = 1;
        return 0;
    }

    *sipCppPtr = new KSharedPtr<Plasma::PackageStructure> (cpp);

    return 1;
#line 2440 "sipplasmapart0.cpp"
}


extern "C" {static PyObject *convertFrom_KSharedPtr_0200Plasma_PackageStructure(void *, PyObject *);}
static PyObject *convertFrom_KSharedPtr_0200Plasma_PackageStructure(void *sipCppV,PyObject *sipTransferObj)
{
   KSharedPtr<Plasma::PackageStructure> *sipCpp = reinterpret_cast<KSharedPtr<Plasma::PackageStructure> *>(sipCppV);

#line 228 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Convert to a Python instance

    if (!sipCpp)
        return NULL;

    KSharedPtr<Plasma::PackageStructure> *cPtr = new KSharedPtr<Plasma::PackageStructure> (*(KSharedPtr<Plasma::PackageStructure> *)sipCpp);
    Plasma::PackageStructure *cpp = cPtr->data ();
    PyObject *obj = sipConvertFromInstance (cpp, sipClass_Plasma_PackageStructure, sipTransferObj);

    return obj;
#line 2460 "sipplasmapart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_KSharedPtr_0200Plasma_PackageStructure = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_223,
        {0}
    },
    release_KSharedPtr_0200Plasma_PackageStructure,
    convertTo_KSharedPtr_0200Plasma_PackageStructure,
    convertFrom_KSharedPtr_0200Plasma_PackageStructure
},
    assign_KSharedPtr_0200Plasma_PackageStructure
};

#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 2489 "sipplasmapart0.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2493 "sipplasmapart0.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 2496 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 2499 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 2502 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2505 "sipplasmapart0.cpp"


extern "C" {static void assign_QHash_0200QString_0201QAction(void *, const void*);}
static void assign_QHash_0200QString_0201QAction(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QHash<QString,QAction *> *>(sipDst) = *reinterpret_cast<const QHash<QString,QAction *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QHash_0200QString_0201QAction(void *, int);}
static void release_QHash_0200QString_0201QAction(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<QString,QAction *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QHash_0200QString_0201QAction(PyObject *, void **, int *, PyObject *);}
static int convertTo_QHash_0200QString_0201QAction(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QHash<QString,QAction *> **sipCppPtr = reinterpret_cast<QHash<QString,QAction *> **>(sipCppPtrV);

#line 418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToInstance(t1obj, sipClass_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToInstance(t2obj, sipClass_QAction, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QHash<QString, QAction*> *qm = new QHash<QString, QAction*>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToInstance(t1obj, sipClass_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        QAction *t2 = reinterpret_cast<QAction *>(sipConvertToInstance(t2obj, sipClass_QAction, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t1, sipClass_QString, state1);
            sipReleaseInstance(t2, sipClass_QAction, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, t2);

        sipReleaseInstance(t1, sipClass_QString, state1);
        sipReleaseInstance(t2, sipClass_QAction, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 2580 "sipplasmapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_0200QString_0201QAction(void *, PyObject *);}
static PyObject *convertFrom_QHash_0200QString_0201QAction(void *sipCppV,PyObject *sipTransferObj)
{
   QHash<QString,QAction *> *sipCpp = reinterpret_cast<QHash<QString,QAction *> *>(sipCppV);

#line 374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<QString, QAction*>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        QAction *t2 = i.value();

        PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_QAction, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
                Py_DECREF(t1obj);
            else
                delete t1;

            if (t2obj)
                Py_DECREF(t2obj);
            else
                delete t2;

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 2631 "sipplasmapart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QHash_0200QString_0201QAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2547,
        {0}
    },
    release_QHash_0200QString_0201QAction,
    convertTo_QHash_0200QString_0201QAction,
    convertFrom_QHash_0200QString_0201QAction
},
    assign_QHash_0200QString_0201QAction
};


extern "C" {static void assign_QHash_0200QString_0201Plasma_DataContainer(void *, const void*);}
static void assign_QHash_0200QString_0201Plasma_DataContainer(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QHash<QString,Plasma::DataContainer *> *>(sipDst) = *reinterpret_cast<const QHash<QString,Plasma::DataContainer *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QHash_0200QString_0201Plasma_DataContainer(void *, int);}
static void release_QHash_0200QString_0201Plasma_DataContainer(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<QString,Plasma::DataContainer *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QHash_0200QString_0201Plasma_DataContainer(PyObject *, void **, int *, PyObject *);}
static int convertTo_QHash_0200QString_0201Plasma_DataContainer(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QHash<QString,Plasma::DataContainer *> **sipCppPtr = reinterpret_cast<QHash<QString,Plasma::DataContainer *> **>(sipCppPtrV);

#line 418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToInstance(t1obj, sipClass_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToInstance(t2obj, sipClass_Plasma_DataContainer, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QHash<QString, Plasma::DataContainer*> *qm = new QHash<QString, Plasma::DataContainer*>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToInstance(t1obj, sipClass_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        Plasma::DataContainer *t2 = reinterpret_cast<Plasma::DataContainer *>(sipConvertToInstance(t2obj, sipClass_Plasma_DataContainer, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t1, sipClass_QString, state1);
            sipReleaseInstance(t2, sipClass_Plasma_DataContainer, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, t2);

        sipReleaseInstance(t1, sipClass_QString, state1);
        sipReleaseInstance(t2, sipClass_Plasma_DataContainer, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 2725 "sipplasmapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_0200QString_0201Plasma_DataContainer(void *, PyObject *);}
static PyObject *convertFrom_QHash_0200QString_0201Plasma_DataContainer(void *sipCppV,PyObject *sipTransferObj)
{
   QHash<QString,Plasma::DataContainer *> *sipCpp = reinterpret_cast<QHash<QString,Plasma::DataContainer *> *>(sipCppV);

#line 374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<QString, Plasma::DataContainer*>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        Plasma::DataContainer *t2 = i.value();

        PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_Plasma_DataContainer, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
                Py_DECREF(t1obj);
            else
                delete t1;

            if (t2obj)
                Py_DECREF(t2obj);
            else
                delete t2;

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 2776 "sipplasmapart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QHash_0200QString_0201Plasma_DataContainer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_185,
        {0}
    },
    release_QHash_0200QString_0201Plasma_DataContainer,
    convertTo_QHash_0200QString_0201Plasma_DataContainer,
    convertFrom_QHash_0200QString_0201Plasma_DataContainer
},
    assign_QHash_0200QString_0201Plasma_DataContainer
};


extern "C" {static void assign_QHash_0200QString_0201Plasma_DataEngine(void *, const void*);}
static void assign_QHash_0200QString_0201Plasma_DataEngine(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QHash<QString,Plasma::DataEngine *> *>(sipDst) = *reinterpret_cast<const QHash<QString,Plasma::DataEngine *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QHash_0200QString_0201Plasma_DataEngine(void *, int);}
static void release_QHash_0200QString_0201Plasma_DataEngine(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<QString,Plasma::DataEngine *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QHash_0200QString_0201Plasma_DataEngine(PyObject *, void **, int *, PyObject *);}
static int convertTo_QHash_0200QString_0201Plasma_DataEngine(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QHash<QString,Plasma::DataEngine *> **sipCppPtr = reinterpret_cast<QHash<QString,Plasma::DataEngine *> **>(sipCppPtrV);

#line 418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToInstance(t1obj, sipClass_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToInstance(t2obj, sipClass_Plasma_DataEngine, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QHash<QString, Plasma::DataEngine*> *qm = new QHash<QString, Plasma::DataEngine*>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToInstance(t1obj, sipClass_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        Plasma::DataEngine *t2 = reinterpret_cast<Plasma::DataEngine *>(sipConvertToInstance(t2obj, sipClass_Plasma_DataEngine, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t1, sipClass_QString, state1);
            sipReleaseInstance(t2, sipClass_Plasma_DataEngine, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, t2);

        sipReleaseInstance(t1, sipClass_QString, state1);
        sipReleaseInstance(t2, sipClass_Plasma_DataEngine, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 2870 "sipplasmapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_0200QString_0201Plasma_DataEngine(void *, PyObject *);}
static PyObject *convertFrom_QHash_0200QString_0201Plasma_DataEngine(void *sipCppV,PyObject *sipTransferObj)
{
   QHash<QString,Plasma::DataEngine *> *sipCpp = reinterpret_cast<QHash<QString,Plasma::DataEngine *> *>(sipCppV);

#line 374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<QString, Plasma::DataEngine*>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        Plasma::DataEngine *t2 = i.value();

        PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_Plasma_DataEngine, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
                Py_DECREF(t1obj);
            else
                delete t1;

            if (t2obj)
                Py_DECREF(t2obj);
            else
                delete t2;

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 2921 "sipplasmapart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QHash_0200QString_0201Plasma_DataEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_297,
        {0}
    },
    release_QHash_0200QString_0201Plasma_DataEngine,
    convertTo_QHash_0200QString_0201Plasma_DataEngine,
    convertFrom_QHash_0200QString_0201Plasma_DataEngine
},
    assign_QHash_0200QString_0201Plasma_DataEngine
};


extern "C" {static void assign_QHash_0200QString_0201Plasma_Applet(void *, const void*);}
static void assign_QHash_0200QString_0201Plasma_Applet(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QHash<QString,Plasma::Applet *> *>(sipDst) = *reinterpret_cast<const QHash<QString,Plasma::Applet *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QHash_0200QString_0201Plasma_Applet(void *, int);}
static void release_QHash_0200QString_0201Plasma_Applet(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QHash<QString,Plasma::Applet *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QHash_0200QString_0201Plasma_Applet(PyObject *, void **, int *, PyObject *);}
static int convertTo_QHash_0200QString_0201Plasma_Applet(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QHash<QString,Plasma::Applet *> **sipCppPtr = reinterpret_cast<QHash<QString,Plasma::Applet *> **>(sipCppPtrV);

#line 418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToInstance(t1obj, sipClass_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToInstance(t2obj, sipClass_Plasma_Applet, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QHash<QString, Plasma::Applet*> *qm = new QHash<QString, Plasma::Applet*>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToInstance(t1obj, sipClass_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        Plasma::Applet *t2 = reinterpret_cast<Plasma::Applet *>(sipConvertToInstance(t2obj, sipClass_Plasma_Applet, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t1, sipClass_QString, state1);
            sipReleaseInstance(t2, sipClass_Plasma_Applet, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, t2);

        sipReleaseInstance(t1, sipClass_QString, state1);
        sipReleaseInstance(t2, sipClass_Plasma_Applet, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 3015 "sipplasmapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_0200QString_0201Plasma_Applet(void *, PyObject *);}
static PyObject *convertFrom_QHash_0200QString_0201Plasma_Applet(void *sipCppV,PyObject *sipTransferObj)
{
   QHash<QString,Plasma::Applet *> *sipCpp = reinterpret_cast<QHash<QString,Plasma::Applet *> *>(sipCppV);

#line 374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QHash<QString, Plasma::Applet*>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        Plasma::Applet *t2 = i.value();

        PyObject *t1obj = sipConvertFromNewInstance(t1, sipClass_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewInstance(t2, sipClass_Plasma_Applet, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
                Py_DECREF(t1obj);
            else
                delete t1;

            if (t2obj)
                Py_DECREF(t2obj);
            else
                delete t2;

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 3066 "sipplasmapart0.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_plasma_QHash_0200QString_0201Plasma_Applet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_593,
        {0}
    },
    release_QHash_0200QString_0201Plasma_Applet,
    convertTo_QHash_0200QString_0201Plasma_Applet,
    convertFrom_QHash_0200QString_0201Plasma_Applet
},
    assign_QHash_0200QString_0201Plasma_Applet
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/webview.sip"
#include <plasma/widgets/webview.h>
#line 3089 "sipplasmapart0.cpp"

#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3093 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3096 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3099 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3102 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3105 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3108 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3111 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3114 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3117 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3120 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3123 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3126 "sipplasmapart0.cpp"
#line 76 "/usr/local/share/py-sip/QtWebKit/qwebframe.sip"
#include <qwebframe.h>
#line 3129 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtWebKit/qwebpage.sip"
#include <qwebpage.h>
#line 195 "/usr/local/share/py-sip/QtWebKit/qwebpage.sip"
#include <qwebpage.h>
#line 203 "/usr/local/share/py-sip/QtWebKit/qwebpage.sip"
#include <qwebpage.h>
#line 258 "/usr/local/share/py-sip/QtWebKit/qwebpage.sip"
#include <qwebpage.h>
#line 273 "/usr/local/share/py-sip/QtWebKit/qwebpage.sip"
#include <qwebpage.h>
#line 3140 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3143 "sipplasmapart0.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 3146 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3207 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3210 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 3213 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3216 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 3219 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 3222 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3227 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3230 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 3233 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 3236 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 3239 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 3242 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3245 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 3250 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 3253 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 3256 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 3259 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 3262 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 3267 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 3272 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 3277 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 3282 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 3285 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 3288 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 3291 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 3294 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 3297 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3300 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3303 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3306 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3309 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3312 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3315 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3318 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3321 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3324 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3327 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3358 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3361 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3364 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3367 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3370 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3373 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3376 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 3381 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3384 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3387 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 3390 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3393 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 3396 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3399 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3402 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3405 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3408 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3411 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 3414 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 3417 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3422 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 3425 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3428 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3431 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3434 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3437 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 3440 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 3443 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3446 "sipplasmapart0.cpp"


class sipPlasma_WebView : public Plasma::WebView
{
public:
    sipPlasma_WebView(QGraphicsItem *);
    virtual ~sipPlasma_WebView();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_paint(bool,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

sipPlasma_WebView::sipPlasma_WebView(QGraphicsItem *a0): Plasma::WebView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_WebView::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_WebView);
}

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

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

    return _id;
}

void *sipPlasma_WebView::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_WebView,_clname)) ? this : Plasma::WebView::qt_metacast(_clname);
}

void sipPlasma_WebView::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        Plasma::WebView::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipPlasma_WebView::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipPlasma_WebView::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        Plasma::WebView::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

void sipPlasma_WebView::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_WebView::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QPainterPath sipPlasma_WebView::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_WebView::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

QSizeF sipPlasma_WebView::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::sizeHint(a0,a1);

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

void sipPlasma_WebView::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_updateGeometry);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_WebView::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsWidget::itemChange(a0,a1);

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

QVariant sipPlasma_WebView::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_WebView::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sceneEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_WebView::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_WebView::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_WebView::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_event);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_changeEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

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

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        Plasma::WebView::focusInEvent(a0);
        return;
    }

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

bool sipPlasma_WebView::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_focusNextPrevChild);

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

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

void sipPlasma_WebView::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        Plasma::WebView::focusOutEvent(a0);
        return;
    }

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

void sipPlasma_WebView::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_hideEvent);

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

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

void sipPlasma_WebView::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

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

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

void sipPlasma_WebView::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_WebView::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QGraphicsWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_showEvent);

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

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

void sipPlasma_WebView::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        Plasma::WebView::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_grabMouseEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_ungrabMouseEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_grabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipPlasma_WebView::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_WebView::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_childEvent);

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_customEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_connectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_disconnectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_advance);

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

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_WebView::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_WebView::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_WebView::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_WebView::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_WebView::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_WebView::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        Plasma::WebView::contextMenuEvent(a0);
        return;
    }

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

void sipPlasma_WebView::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        Plasma::WebView::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        Plasma::WebView::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        Plasma::WebView::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        Plasma::WebView::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_inputMethodEvent);

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

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_WebView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_WebView::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        Plasma::WebView::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        Plasma::WebView::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_WebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        Plasma::WebView::mouseDoubleClickEvent(a0);
        return;
    }

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

void sipPlasma_WebView::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        Plasma::WebView::mouseMoveEvent(a0);
        return;
    }

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

void sipPlasma_WebView::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        Plasma::WebView::mousePressEvent(a0);
        return;
    }

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

void sipPlasma_WebView::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        Plasma::WebView::mouseReleaseEvent(a0);
        return;
    }

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

bool sipPlasma_WebView::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

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

void sipPlasma_WebView::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        Plasma::WebView::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

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

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

void sipPlasma_WebView::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

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

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

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

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

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

void sipPlasma_WebView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

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

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

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

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

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

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

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

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

QVariant sipPlasma_WebView::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

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

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

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

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

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

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

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

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

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

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

void sipPlasma_WebView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::resizeEvent(a0) : resizeEvent(a0));
}

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

void sipPlasma_WebView::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

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

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

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

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

void sipPlasma_WebView::sipProtectVirt_paint(bool sipSelfWasArg,QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    (sipSelfWasArg ? Plasma::WebView::paint(a0,a1,a2) : paint(a0,a1,a2));
}

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

void sipPlasma_WebView::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::WebView::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

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

void sipPlasma_WebView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? Plasma::WebView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

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

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

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

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

void sipPlasma_WebView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? Plasma::WebView::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

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

void sipPlasma_WebView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? Plasma::WebView::focusOutEvent(a0) : focusOutEvent(a0));
}

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

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

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

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


extern "C" {static PyObject *meth_Plasma_WebView_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_WebView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_WebView *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_WebView,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 5120 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_WebView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_WebView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_WebView *sipCpp;

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

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

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_WebView,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_WebView,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_setUrl(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_url(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_html(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_html(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::WebView *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_html);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_setHtml(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setHtml(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J9",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QString,&a0,&a0State,sipType_KUrl,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHtml(*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(sipArgsParsed,sipName_WebView,sipName_setHtml);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_geometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_geometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::WebView *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_geometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_setPage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setPage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWebPage * a0;
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QWebPage,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_setPage);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_page(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_page(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            QWebPage *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->page();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_page);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_mainFrame(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_mainFrame(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            QWebFrame *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mainFrame();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_mainFrame);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_setDragToScroll(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setDragToScroll(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_WebView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDragToScroll(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_setDragToScroll);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_dragToScroll(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_dragToScroll(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_WebView,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dragToScroll();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_dragToScroll);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_setGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QRectF,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::WebView::setGeometry(*a0) : sipCpp->setGeometry(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_setGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_paint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        QWidget * a2 = 0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8|J8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionGraphicsItem,&a1,sipType_QWidget,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paint(sipSelfWasArg,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(sipArgsParsed,sipName_WebView,sipName_paint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_WebView_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_WebView_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_WebView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_WebView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_WebView,sipName_dropEvent);

    return NULL;
}


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

    if (targetType == sipType_Plasma_WebView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::WebView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_WebView *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::WebView *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_WebView(sipSimpleWrapper *);}
static void dealloc_Plasma_WebView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_WebView *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_WebView(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_WebView(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_WebView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipPlasma_WebView *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsItem * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J8",sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_WebView(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_WebView[] = {{190, 2, 1}};


static PyMethodDef methods_Plasma_WebView[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_WebView_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_WebView_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_WebView_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_WebView_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_WebView_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_WebView_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_WebView_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_WebView_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_WebView_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_WebView_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragToScroll), meth_Plasma_WebView_dragToScroll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_WebView_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_WebView_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_WebView_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_WebView_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_WebView_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_geometry), meth_Plasma_WebView_geometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_WebView_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_WebView_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_WebView_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_WebView_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_WebView_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_WebView_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_html), meth_Plasma_WebView_html, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_WebView_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_WebView_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_WebView_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_WebView_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_WebView_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_WebView_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainFrame), meth_Plasma_WebView_mainFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_WebView_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_WebView_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_WebView_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_WebView_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_WebView_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_page), meth_Plasma_WebView_page, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_WebView_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_WebView_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_WebView_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_WebView_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_WebView_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_WebView_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_WebView_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_WebView_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDragToScroll), meth_Plasma_WebView_setDragToScroll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_Plasma_WebView_setGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_WebView_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHtml), meth_Plasma_WebView_setHtml, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_WebView_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPage), meth_Plasma_WebView_setPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_Plasma_WebView_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_WebView_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_WebView_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_WebView_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_WebView_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_WebView_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_WebView_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_Plasma_WebView_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_WebView_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_WebView_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_WebView_windowFrameSectionAt, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_WebView[] = {
    {"loadFinished(bool)", 0},
    {"loadProgress(int)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_WebView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__WebView,
        {0}
    },
    sipNameNr_WebView,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_WebView,
    0,
    62, methods_Plasma_WebView,
    0, 0,
    0, 0,
    init_Plasma_WebView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_WebView,
    release_Plasma_WebView,
    cast_Plasma_WebView,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::WebView::staticMetaObject,
    0,
    pyqt4_signals_Plasma_WebView
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/videowidget.sip"
#include <plasma/widgets/videowidget.h>
#line 6853 "sipplasmapart0.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/videowidget.sip"
#include <plasma/widgets/videowidget.h>
#line 6857 "sipplasmapart0.cpp"


extern "C" {static int slot_Plasma_VideoWidget_Controls___bool__(PyObject *sipSelf);}
static int slot_Plasma_VideoWidget_Controls___bool__(PyObject *sipSelf)
{
    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 6875 "sipplasmapart0.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_VideoWidget_Controls___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::VideoWidget::Controls * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 6903 "sipplasmapart0.cpp"

            sipReleaseType(const_cast<Plasma::VideoWidget::Controls *>(a0),sipType_Plasma_VideoWidget_Controls,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_VideoWidget_Controls,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_VideoWidget_Controls___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Plasma::VideoWidget::Controls * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 6935 "sipplasmapart0.cpp"

            sipReleaseType(const_cast<Plasma::VideoWidget::Controls *>(a0),sipType_Plasma_VideoWidget_Controls,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_VideoWidget_Controls,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_VideoWidget_Controls___invert__(PyObject *sipSelf)
{
    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::VideoWidget::Controls *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::VideoWidget::Controls(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_VideoWidget_Controls___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget::Controls * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_Plasma_VideoWidget_Controls,&a0,&a0State,&a1))
        {
            Plasma::VideoWidget::Controls *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::VideoWidget::Controls((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_VideoWidget_Controls,a0State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_VideoWidget_Controls___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget::Controls * a0;
        int a0State = 0;
        Plasma::VideoWidget::Controls * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State,sipType_Plasma_VideoWidget_Controls,&a1,&a1State))
        {
            Plasma::VideoWidget::Controls *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::VideoWidget::Controls((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_VideoWidget_Controls,a0State);
            sipReleaseType(a1,sipType_Plasma_VideoWidget_Controls,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_VideoWidget_Controls___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget::Controls * a0;
        int a0State = 0;
        Plasma::VideoWidget::Controls * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State,sipType_Plasma_VideoWidget_Controls,&a1,&a1State))
        {
            Plasma::VideoWidget::Controls *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::VideoWidget::Controls((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_VideoWidget_Controls,a0State);
            sipReleaseType(a1,sipType_Plasma_VideoWidget_Controls,a1State);

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

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_VideoWidget_Controls___int__(PyObject *sipSelf)
{
    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_VideoWidget_Controls___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_VideoWidget_Controls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget::Controls * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::VideoWidget::Controls::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_VideoWidget_Controls,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_VideoWidget_Controls___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_VideoWidget_Controls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget::Controls * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::VideoWidget::Controls::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Plasma_VideoWidget_Controls,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_VideoWidget_Controls___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_VideoWidget_Controls___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_VideoWidget_Controls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::VideoWidget::Controls *sipCpp = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_VideoWidget_Controls));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::VideoWidget::Controls::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Plasma::VideoWidget::Controls *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_VideoWidget_Controls(void *, const void*);}
static void assign_Plasma_VideoWidget_Controls(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Plasma::VideoWidget::Controls *>(sipDst) = *reinterpret_cast<const Plasma::VideoWidget::Controls *>(sipSrc);
}


extern "C" {static void dealloc_Plasma_VideoWidget_Controls(sipSimpleWrapper *);}
static void dealloc_Plasma_VideoWidget_Controls(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_VideoWidget_Controls(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_VideoWidget_Controls(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_VideoWidget_Controls(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Plasma::VideoWidget::Controls *sipCpp = 0;

    if (!sipCpp)
    {
        const Plasma::VideoWidget::Controls * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_Plasma_VideoWidget_Controls,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::VideoWidget::Controls(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::VideoWidget::Controls *>(a0),sipType_Plasma_VideoWidget_Controls,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::VideoWidget::Controls(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::VideoWidget::Controls();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static int convertTo_Plasma_VideoWidget_Controls(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_VideoWidget_Controls(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::VideoWidget::Controls **sipCppPtr = reinterpret_cast<Plasma::VideoWidget::Controls **>(sipCppPtrV);

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::VideoWidget::Controls is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_VideoWidget_Control)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_VideoWidget_Controls, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_VideoWidget_Control)))
{
    *sipCppPtr = new Plasma::VideoWidget::Controls(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::VideoWidget::Controls *>(sipConvertToType(sipPy, sipType_Plasma_VideoWidget_Controls, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 7306 "sipplasmapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_VideoWidget_Controls[] = {
    {(void *)slot_Plasma_VideoWidget_Controls___bool__, bool_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___ne__, ne_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___eq__, eq_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___invert__, invert_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___and__, and_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___xor__, xor_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___or__, or_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___int__, int_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___ixor__, ixor_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___ior__, ior_slot},
    {(void *)slot_Plasma_VideoWidget_Controls___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_VideoWidget_Controls = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__VideoWidget__Controls,
        {0}
    },
    sipNameNr_Controls,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {109, 255, 0},
    0,
    slots_Plasma_VideoWidget_Controls,
    0, 0,
    0, 0,
    0, 0,
    init_Plasma_VideoWidget_Controls,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_VideoWidget_Controls,
    release_Plasma_VideoWidget_Controls,
    cast_Plasma_VideoWidget_Controls,
    convertTo_Plasma_VideoWidget_Controls,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Plasma_VideoWidget_Controls,
    0,
    1,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/videowidget.sip"
#include <plasma/widgets/videowidget.h>
#line 7374 "sipplasmapart0.cpp"

#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 7378 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7381 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7384 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7387 "sipplasmapart0.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/videowidget.sip"
#include <plasma/widgets/videowidget.h>
#line 7390 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7393 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7396 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7399 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 7402 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7405 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7408 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7411 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7414 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7417 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7420 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7423 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7426 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7429 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7432 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7435 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 7438 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7441 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 7444 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7447 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7508 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 7511 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 7514 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7517 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 7520 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7525 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7528 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 7531 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 7534 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 7537 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 7540 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 7543 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7548 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 7551 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 7554 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 7557 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 7560 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 7565 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 7570 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 7575 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 7580 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 7583 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 7586 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 7589 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 7592 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 7595 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 7598 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7601 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 7604 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 7635 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 7638 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7641 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7644 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7647 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7650 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 7655 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7658 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7661 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 7664 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7667 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 7670 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7673 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7676 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7679 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7682 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7685 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 7688 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 7691 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7696 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 7699 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7702 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7705 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 7708 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 7711 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 7714 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 7717 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7720 "sipplasmapart0.cpp"


class sipPlasma_VideoWidget : public Plasma::VideoWidget
{
public:
    sipPlasma_VideoWidget(QGraphicsWidget *);
    virtual ~sipPlasma_VideoWidget();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_event(bool,QEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    QGraphicsProxyWidget * sipProtect_newProxyWidget(const QWidget *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

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

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

const QMetaObject *sipPlasma_VideoWidget::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_VideoWidget);
}

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

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

    return _id;
}

void *sipPlasma_VideoWidget::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_VideoWidget,_clname)) ? this : Plasma::VideoWidget::qt_metacast(_clname);
}

void sipPlasma_VideoWidget::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsProxyWidget::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

int sipPlasma_VideoWidget::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

QVariant sipPlasma_VideoWidget::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsProxyWidget::itemChange(a0,a1);

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

bool sipPlasma_VideoWidget::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsProxyWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_VideoWidget::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_VideoWidget::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::showEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        Plasma::VideoWidget::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        Plasma::VideoWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        Plasma::VideoWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

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

void sipPlasma_VideoWidget::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

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

bool sipPlasma_VideoWidget::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsProxyWidget::focusNextPrevChild(a0);

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

QSizeF sipPlasma_VideoWidget::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::sizeHint(a0,a1);

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

void sipPlasma_VideoWidget::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::VideoWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_VideoWidget::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_VideoWidget::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QPainterPath sipPlasma_VideoWidget::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_VideoWidget::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_updateGeometry);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_VideoWidget::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_VideoWidget::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sceneEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_VideoWidget::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_windowFrameEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_VideoWidget::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_VideoWidget::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

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

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_VideoWidget::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_polishEvent);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_VideoWidget::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_VideoWidget::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_advance);

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

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_VideoWidget::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_VideoWidget::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_VideoWidget::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_VideoWidget::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_VideoWidget::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_VideoWidget::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_inputMethodEvent);

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

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_VideoWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_VideoWidget::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

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

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

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

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

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

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

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

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

void sipPlasma_VideoWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

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

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

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

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

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

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

QVariant sipPlasma_VideoWidget::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

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

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

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

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

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

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

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

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

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

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

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

bool sipPlasma_VideoWidget::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

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

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

void sipPlasma_VideoWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

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

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

void sipPlasma_VideoWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_VideoWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_VideoWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

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

void sipPlasma_VideoWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_VideoWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

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

void sipPlasma_VideoWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusInEvent(a0) : focusInEvent(a0));
}

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

bool sipPlasma_VideoWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

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

void sipPlasma_VideoWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_VideoWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_VideoWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_VideoWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dropEvent(a0) : dropEvent(a0));
}

QGraphicsProxyWidget * sipPlasma_VideoWidget::sipProtect_newProxyWidget(const QWidget *a0)
{
    return QGraphicsProxyWidget::newProxyWidget(a0);
}

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

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

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

void sipPlasma_VideoWidget::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? Plasma::VideoWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_VideoWidget *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 9372 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_VideoWidget,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_VideoWidget *sipCpp;

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

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

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_newProxyWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_newProxyWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QWidget * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QWidget,&a0))
        {
            QGraphicsProxyWidget *sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_newProxyWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_setUrl(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*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(sipArgsParsed,sipName_VideoWidget,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_url(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_currentTime(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_currentTime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentTime();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_currentTime);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_totalTime(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_totalTime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalTime();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_totalTime);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_remainingTime(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_remainingTime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->remainingTime();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_remainingTime);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_setUsedControls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_setUsedControls(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const Plasma::VideoWidget::Controls * a0;
        int a0State = 0;
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_Plasma_VideoWidget_Controls,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUsedControls(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<Plasma::VideoWidget::Controls *>(a0),sipType_Plasma_VideoWidget_Controls,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_setUsedControls);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_usedControls(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_usedControls(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Plasma::VideoWidget::Controls *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::VideoWidget::Controls(sipCpp->usedControls());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_usedControls);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_setControlsVisible(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_setControlsVisible(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setControlsVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_setControlsVisible);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_controlsVisible(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_controlsVisible(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->controlsVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_controlsVisible);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_setStyleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_styleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_play(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_play(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->play();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_play);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_pause(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_pause(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->pause();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_pause);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_stop(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_stop(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_stop);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_seek(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_seek(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        qint64 a0;
        Plasma::VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->seek(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_VideoWidget,sipName_seek);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_VideoWidget_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_VideoWidget_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_VideoWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_VideoWidget,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_VideoWidget)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_VideoWidget *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::VideoWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_VideoWidget(sipSimpleWrapper *);}
static void dealloc_Plasma_VideoWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_VideoWidget *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_VideoWidget(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_VideoWidget(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_VideoWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_VideoWidget *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QGraphicsWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_VideoWidget(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_VideoWidget[] = {{164, 2, 1}};


static PyMethodDef methods_Plasma_VideoWidget[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_VideoWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_VideoWidget_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_VideoWidget_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_VideoWidget_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_VideoWidget_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_controlsVisible), meth_Plasma_VideoWidget_controlsVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentTime), meth_Plasma_VideoWidget_currentTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_VideoWidget_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_VideoWidget_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_VideoWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_VideoWidget_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_VideoWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_VideoWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_VideoWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_VideoWidget_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_VideoWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_VideoWidget_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_VideoWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_VideoWidget_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_VideoWidget_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_VideoWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_VideoWidget_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_VideoWidget_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_VideoWidget_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_VideoWidget_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_VideoWidget_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_VideoWidget_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_VideoWidget_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_VideoWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_VideoWidget_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_VideoWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_VideoWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_VideoWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_VideoWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_VideoWidget_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newProxyWidget), meth_Plasma_VideoWidget_newProxyWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pause), meth_Plasma_VideoWidget_pause, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_play), meth_Plasma_VideoWidget_play, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_VideoWidget_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_VideoWidget_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_VideoWidget_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_VideoWidget_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remainingTime), meth_Plasma_VideoWidget_remainingTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_VideoWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_VideoWidget_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_VideoWidget_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_Plasma_VideoWidget_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setControlsVisible), meth_Plasma_VideoWidget_setControlsVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_VideoWidget_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_VideoWidget_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_VideoWidget_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_Plasma_VideoWidget_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsedControls), meth_Plasma_VideoWidget_setUsedControls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_VideoWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_VideoWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_Plasma_VideoWidget_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_VideoWidget_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_VideoWidget_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalTime), meth_Plasma_VideoWidget_totalTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_VideoWidget_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_VideoWidget_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_VideoWidget_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_Plasma_VideoWidget_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usedControls), meth_Plasma_VideoWidget_usedControls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_VideoWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_VideoWidget_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_VideoWidget_windowFrameSectionAt, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_VideoWidget[] = {
    {sipName_DefaultControls, Plasma::VideoWidget::DefaultControls, 110},
    {sipName_Next, Plasma::VideoWidget::Next, 110},
    {sipName_NoControls, Plasma::VideoWidget::NoControls, 110},
    {sipName_OpenFile, Plasma::VideoWidget::OpenFile, 110},
    {sipName_Pause, Plasma::VideoWidget::Pause, 110},
    {sipName_Play, Plasma::VideoWidget::Play, 110},
    {sipName_PlayPause, Plasma::VideoWidget::PlayPause, 110},
    {sipName_Previous, Plasma::VideoWidget::Previous, 110},
    {sipName_Progress, Plasma::VideoWidget::Progress, 110},
    {sipName_Stop, Plasma::VideoWidget::Stop, 110},
    {sipName_Volume, Plasma::VideoWidget::Volume, 110},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_VideoWidget[] = {
    {"previousRequested()", 0},
    {"nextRequested()", 0},
    {"aboutToFinish()", 0},
    {"tick(qint64)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_VideoWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__VideoWidget,
        {0}
    },
    sipNameNr_VideoWidget,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_VideoWidget,
    0,
    67, methods_Plasma_VideoWidget,
    11, enummembers_Plasma_VideoWidget,
    0, 0,
    init_Plasma_VideoWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_VideoWidget,
    release_Plasma_VideoWidget,
    cast_Plasma_VideoWidget,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::VideoWidget::staticMetaObject,
    0,
    pyqt4_signals_Plasma_VideoWidget
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/treeview.sip"
#include <plasma/widgets/treeview.h>
#line 11290 "sipplasmapart0.cpp"

#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 11294 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qtreeview.sip"
#include <qtreeview.h>
#line 11297 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11300 "sipplasmapart0.cpp"
#line 133 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11303 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 11306 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11309 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11312 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11315 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 11318 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11321 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11324 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11327 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11330 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11333 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11336 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11339 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11342 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11345 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11348 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11351 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11354 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11357 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11360 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 11363 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 11366 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11427 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 11430 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 11433 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11436 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 11439 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11444 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11447 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 11450 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 11453 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 11456 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 11459 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 11462 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 11467 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 11470 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 11473 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 11476 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 11479 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 11484 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 11489 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 11494 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 11499 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 11502 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 11505 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 11508 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 11511 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 11514 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 11517 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11520 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 11523 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 11554 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 11557 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11560 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11563 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11566 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11569 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 11574 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11577 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11580 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 11583 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11586 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 11589 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11592 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11595 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11598 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11601 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11604 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 11607 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 11610 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 11615 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 11618 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11621 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11624 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11627 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11630 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 11633 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 11636 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11639 "sipplasmapart0.cpp"


class sipPlasma_TreeView : public Plasma::TreeView
{
public:
    sipPlasma_TreeView(QGraphicsWidget *);
    virtual ~sipPlasma_TreeView();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_event(bool,QEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    QGraphicsProxyWidget * sipProtect_newProxyWidget(const QWidget *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

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

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

const QMetaObject *sipPlasma_TreeView::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_TreeView);
}

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

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

    return _id;
}

void *sipPlasma_TreeView::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_TreeView,_clname)) ? this : Plasma::TreeView::qt_metacast(_clname);
}

void sipPlasma_TreeView::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsProxyWidget::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

int sipPlasma_TreeView::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

QVariant sipPlasma_TreeView::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsProxyWidget::itemChange(a0,a1);

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

bool sipPlasma_TreeView::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsProxyWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TreeView::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TreeView::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::showEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

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

void sipPlasma_TreeView::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

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

bool sipPlasma_TreeView::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsProxyWidget::focusNextPrevChild(a0);

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

QSizeF sipPlasma_TreeView::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::sizeHint(a0,a1);

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

void sipPlasma_TreeView::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_TreeView::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_TreeView::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QPainterPath sipPlasma_TreeView::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TreeView::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_updateGeometry);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_TreeView::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TreeView::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sceneEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TreeView::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_windowFrameEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_TreeView::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_TreeView::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

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

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_TreeView::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_polishEvent);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_TreeView::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TreeView::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_advance);

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

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_TreeView::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_TreeView::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_TreeView::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_TreeView::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_TreeView::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TreeView::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_inputMethodEvent);

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

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_TreeView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_TreeView::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

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

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

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

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

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

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

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

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

void sipPlasma_TreeView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

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

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

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

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

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

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

QVariant sipPlasma_TreeView::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

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

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

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

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

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

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

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

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

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

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

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

bool sipPlasma_TreeView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

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

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

void sipPlasma_TreeView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

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

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

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

void sipPlasma_TreeView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

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

void sipPlasma_TreeView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

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

void sipPlasma_TreeView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusInEvent(a0) : focusInEvent(a0));
}

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

bool sipPlasma_TreeView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

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

void sipPlasma_TreeView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_TreeView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dropEvent(a0) : dropEvent(a0));
}

QGraphicsProxyWidget * sipPlasma_TreeView::sipProtect_newProxyWidget(const QWidget *a0)
{
    return QGraphicsProxyWidget::newProxyWidget(a0);
}


extern "C" {static PyObject *meth_Plasma_TreeView_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TreeView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TreeView,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_TreeView *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TreeView,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 13291 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TreeView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TreeView,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TreeView,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_TreeView,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TreeView,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TreeView *sipCpp;

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

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

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TreeView,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_newProxyWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_newProxyWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QWidget * a0;
        sipPlasma_TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QWidget,&a0))
        {
            QGraphicsProxyWidget *sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_newProxyWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_setModel(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_setModel(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QAbstractItemModel * a0;
        Plasma::TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QAbstractItemModel,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_setModel);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_model(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_model(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TreeView,&sipCpp))
        {
            QAbstractItemModel *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->model();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TreeView,sipName_model);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_setStyleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_TreeView,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_styleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TreeView *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TreeView_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TreeView_nativeWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TreeView *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TreeView,&sipCpp))
        {
            QTreeView *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_TreeView)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_TreeView *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::TreeView *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_TreeView(sipSimpleWrapper *);}
static void dealloc_Plasma_TreeView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_TreeView *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_TreeView(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_TreeView(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_TreeView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_TreeView *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QGraphicsWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_TreeView(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_TreeView[] = {{164, 2, 1}};


static PyMethodDef methods_Plasma_TreeView[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_TreeView_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_TreeView_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_TreeView_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_TreeView_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_TreeView_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_TreeView_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_TreeView_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_TreeView_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_TreeView_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_TreeView_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_TreeView_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_TreeView_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_TreeView_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_TreeView_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_TreeView_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_TreeView_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_TreeView_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_TreeView_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_TreeView_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_TreeView_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_TreeView_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_TreeView_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_TreeView_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_TreeView_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_TreeView_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_TreeView_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_TreeView_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_TreeView_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_model), meth_Plasma_TreeView_model, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_TreeView_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_TreeView_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_TreeView_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_TreeView_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_TreeView_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_TreeView_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newProxyWidget), meth_Plasma_TreeView_newProxyWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_TreeView_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_TreeView_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_TreeView_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_TreeView_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_TreeView_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_TreeView_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_TreeView_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_TreeView_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_Plasma_TreeView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_TreeView_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_TreeView_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_TreeView_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_TreeView_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_TreeView_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_TreeView_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_TreeView_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_TreeView_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_TreeView_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_TreeView_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_TreeView_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_TreeView_windowFrameSectionAt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_TreeView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__TreeView,
        {0}
    },
    sipNameNr_TreeView,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_TreeView,
    0,
    57, methods_Plasma_TreeView,
    0, 0,
    0, 0,
    init_Plasma_TreeView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_TreeView,
    release_Plasma_TreeView,
    cast_Plasma_TreeView,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::TreeView::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/toolbutton.sip"
#include <plasma/widgets/toolbutton.h>
#line 14902 "sipplasmapart0.cpp"

#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 14906 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14909 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14912 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14915 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14918 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14921 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 14924 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 14927 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 14930 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14933 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 14936 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14939 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 14942 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14945 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14948 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14951 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14954 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14957 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14960 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14963 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14966 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 14969 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14972 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14975 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14978 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 14981 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15042 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 15045 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15048 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 15051 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15056 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15059 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 15062 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 15065 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 15068 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 15071 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 15074 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 15079 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 15082 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 15085 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 15088 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 15091 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 15096 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 15101 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 15106 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 15111 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 15114 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 15117 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 15120 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 15123 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 15126 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 15129 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15132 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15135 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 15166 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15169 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15172 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15175 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15178 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15181 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 15186 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15189 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15192 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 15195 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15198 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 15201 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15204 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15207 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15210 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15213 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15216 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 15219 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 15222 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15227 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 15230 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15233 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15236 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15239 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 15242 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 15245 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 15248 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15251 "sipplasmapart0.cpp"


class sipPlasma_ToolButton : public Plasma::ToolButton
{
public:
    sipPlasma_ToolButton(QGraphicsWidget *);
    virtual ~sipPlasma_ToolButton();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_event(bool,QEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    QGraphicsProxyWidget * sipProtect_newProxyWidget(const QWidget *);
    void sipProtectVirt_paint(bool,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

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

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

const QMetaObject *sipPlasma_ToolButton::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ToolButton);
}

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

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

    return _id;
}

void *sipPlasma_ToolButton::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_ToolButton,_clname)) ? this : Plasma::ToolButton::qt_metacast(_clname);
}

void sipPlasma_ToolButton::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        Plasma::ToolButton::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

int sipPlasma_ToolButton::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

QVariant sipPlasma_ToolButton::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsProxyWidget::itemChange(a0,a1);

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

bool sipPlasma_ToolButton::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsProxyWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_ToolButton::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_ToolButton::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::showEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        Plasma::ToolButton::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        Plasma::ToolButton::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

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

void sipPlasma_ToolButton::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

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

bool sipPlasma_ToolButton::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsProxyWidget::focusNextPrevChild(a0);

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

QSizeF sipPlasma_ToolButton::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::sizeHint(a0,a1);

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

void sipPlasma_ToolButton::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::ToolButton::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_ToolButton::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_ToolButton::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QPainterPath sipPlasma_ToolButton::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_ToolButton::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_updateGeometry);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_ToolButton::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_ToolButton::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sceneEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_ToolButton::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_windowFrameEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_ToolButton::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_ToolButton::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

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

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_ToolButton::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_polishEvent);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_ToolButton::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_ToolButton::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_advance);

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

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_ToolButton::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_ToolButton::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_ToolButton::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_ToolButton::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_ToolButton::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_ToolButton::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_inputMethodEvent);

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

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_ToolButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_ToolButton::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

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

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

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

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

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

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

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

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

void sipPlasma_ToolButton::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

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

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

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

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

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

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

QVariant sipPlasma_ToolButton::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

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

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

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

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

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

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

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

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

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

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

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

bool sipPlasma_ToolButton::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

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

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

void sipPlasma_ToolButton::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

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

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

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

void sipPlasma_ToolButton::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_ToolButton::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_ToolButton::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

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

void sipPlasma_ToolButton::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_ToolButton::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

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

void sipPlasma_ToolButton::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusInEvent(a0) : focusInEvent(a0));
}

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

bool sipPlasma_ToolButton::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

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

void sipPlasma_ToolButton::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_ToolButton::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_ToolButton::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_ToolButton::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dropEvent(a0) : dropEvent(a0));
}

QGraphicsProxyWidget * sipPlasma_ToolButton::sipProtect_newProxyWidget(const QWidget *a0)
{
    return QGraphicsProxyWidget::newProxyWidget(a0);
}

void sipPlasma_ToolButton::sipProtectVirt_paint(bool sipSelfWasArg,QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    (sipSelfWasArg ? Plasma::ToolButton::paint(a0,a1,a2) : paint(a0,a1,a2));
}

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

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

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


extern "C" {static PyObject *meth_Plasma_ToolButton_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_ToolButton *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 16909 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_ToolButton,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_ToolButton *sipCpp;

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

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

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_newProxyWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_newProxyWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QWidget * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QWidget,&a0))
        {
            QGraphicsProxyWidget *sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_newProxyWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setAutoRaise(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setAutoRaise(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Plasma::ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoRaise(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_setAutoRaise);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_autoRaise(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_autoRaise(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoRaise();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_autoRaise);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_setText);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setImage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setImage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImage(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_setImage);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_image(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_image(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_image);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setStyleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_styleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QAction,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_setAction);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_action(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_action);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_setIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QIcon * a0;
        Plasma::ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_setIcon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_icon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ToolButton,sipName_icon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_nativeWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_ToolButton,&sipCpp))
        {
            QToolButton *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_paint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_paint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionGraphicsItem * a1;
        QWidget * a2 = 0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8|J8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionGraphicsItem,&a1,sipType_QWidget,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paint(sipSelfWasArg,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(sipArgsParsed,sipName_ToolButton,sipName_paint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ToolButton_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ToolButton_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_ToolButton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_ToolButton,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_ToolButton)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_ToolButton *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::ToolButton *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ToolButton(sipSimpleWrapper *);}
static void dealloc_Plasma_ToolButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ToolButton *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ToolButton(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_ToolButton(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_ToolButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_ToolButton *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QGraphicsWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ToolButton(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_ToolButton[] = {{164, 2, 1}};


static PyMethodDef methods_Plasma_ToolButton[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_ToolButton_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoRaise), meth_Plasma_ToolButton_autoRaise, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_ToolButton_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_ToolButton_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_ToolButton_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_ToolButton_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_ToolButton_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_ToolButton_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_ToolButton_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_ToolButton_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_ToolButton_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_ToolButton_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_ToolButton_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_ToolButton_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_ToolButton_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_ToolButton_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_ToolButton_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_ToolButton_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_ToolButton_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_ToolButton_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_ToolButton_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_ToolButton_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_ToolButton_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_ToolButton_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_ToolButton_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_image), meth_Plasma_ToolButton_image, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_ToolButton_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_ToolButton_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_ToolButton_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_ToolButton_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_ToolButton_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_ToolButton_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_ToolButton_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_ToolButton_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_ToolButton_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_ToolButton_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_ToolButton_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_ToolButton_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newProxyWidget), meth_Plasma_ToolButton_newProxyWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_ToolButton_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_ToolButton_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_ToolButton_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_ToolButton_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_ToolButton_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ToolButton_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_ToolButton_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_ToolButton_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAction), meth_Plasma_ToolButton_setAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoRaise), meth_Plasma_ToolButton_setAutoRaise, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_ToolButton_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_ToolButton_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImage), meth_Plasma_ToolButton_setImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_ToolButton_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_ToolButton_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_ToolButton_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_ToolButton_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_ToolButton_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_ToolButton_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_ToolButton_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_ToolButton_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_ToolButton_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_ToolButton_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_ToolButton_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_ToolButton_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_ToolButton_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_ToolButton_windowFrameSectionAt, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_ToolButton[] = {
    {"clicked()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_ToolButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ToolButton,
        {0}
    },
    sipNameNr_ToolButton,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_ToolButton,
    0,
    66, methods_Plasma_ToolButton,
    0, 0,
    0, 0,
    init_Plasma_ToolButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ToolButton,
    release_Plasma_ToolButton,
    cast_Plasma_ToolButton,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::ToolButton::staticMetaObject,
    0,
    pyqt4_signals_Plasma_ToolButton
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/textedit.sip"
#include <plasma/widgets/textedit.h>
#line 18788 "sipplasmapart0.cpp"

#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 18792 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18795 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18798 "sipplasmapart0.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 18801 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18804 "sipplasmapart0.cpp"
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 18807 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 18810 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18813 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18816 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 18819 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18822 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18825 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18828 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18831 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18834 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18837 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18840 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 18843 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18846 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18849 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18852 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 18855 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18858 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18861 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 18864 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18925 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 18928 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 18931 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18934 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 18937 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18942 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18945 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 18948 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 18951 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 18954 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 18957 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 18960 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 18965 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 18968 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 18971 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 18974 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 18977 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 18982 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 18987 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 18992 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 18997 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 19000 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 19003 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 19006 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 19009 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 19012 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 19015 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19018 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 19021 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 19052 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 19055 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 19058 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19061 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 19064 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 19067 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 19072 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19075 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 19078 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 19081 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 19084 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 19087 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19090 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19093 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19096 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19099 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19102 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 19105 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 19108 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19113 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 19116 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19119 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 19122 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 19125 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 19128 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 19131 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 19134 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 19137 "sipplasmapart0.cpp"


class sipPlasma_TextEdit : public Plasma::TextEdit
{
public:
    sipPlasma_TextEdit(QGraphicsWidget *);
    virtual ~sipPlasma_TextEdit();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_event(bool,QEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    QGraphicsProxyWidget * sipProtect_newProxyWidget(const QWidget *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

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

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

const QMetaObject *sipPlasma_TextEdit::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_TextEdit);
}

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

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

    return _id;
}

void *sipPlasma_TextEdit::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_TextEdit,_clname)) ? this : Plasma::TextEdit::qt_metacast(_clname);
}

void sipPlasma_TextEdit::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsProxyWidget::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

int sipPlasma_TextEdit::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

QVariant sipPlasma_TextEdit::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsProxyWidget::itemChange(a0,a1);

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

bool sipPlasma_TextEdit::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsProxyWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TextEdit::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TextEdit::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::showEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

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

void sipPlasma_TextEdit::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

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

bool sipPlasma_TextEdit::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsProxyWidget::focusNextPrevChild(a0);

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

QSizeF sipPlasma_TextEdit::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsProxyWidget::sizeHint(a0,a1);

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

void sipPlasma_TextEdit::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::TextEdit::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_TextEdit::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_TextEdit::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QPainterPath sipPlasma_TextEdit::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TextEdit::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_updateGeometry);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_TextEdit::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TextEdit::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sceneEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TextEdit::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_windowFrameEvent);

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_TextEdit::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_TextEdit::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

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

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_TextEdit::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_polishEvent);

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

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_TextEdit::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

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

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TextEdit::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_advance);

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

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_TextEdit::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_TextEdit::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipPlasma_TextEdit::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!meth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TextEdit::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!meth)
        return QGraphicsItem::isObscuredBy(a0);

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_TextEdit::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TextEdit::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_TextEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QGraphicsItem::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TextEdit::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TextEdit::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_TextEdit::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_TextEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_TextEdit::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_TextEdit::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipPlasma_TextEdit::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

int sipPlasma_TextEdit::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_TextEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_TextEdit::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_TextEdit::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_TextEdit::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_TextEdit::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_TextEdit::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

QVariant sipPlasma_TextEdit::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

bool sipPlasma_TextEdit::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::event(a0) : event(a0));
}

bool sipPlasma_TextEdit::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipPlasma_TextEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipPlasma_TextEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

QSizeF sipPlasma_TextEdit::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_TextEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_TextEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dropEvent(a0) : dropEvent(a0));
}

QGraphicsProxyWidget * sipPlasma_TextEdit::sipProtect_newProxyWidget(const QWidget *a0)
{
    return QGraphicsProxyWidget::newProxyWidget(a0);
}

void sipPlasma_TextEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::TextEdit::resizeEvent(a0) : resizeEvent(a0));
}


extern "C" {static PyObject *meth_Plasma_TextEdit_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_setGraphicsItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_setOwnedByLayout);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TextEdit,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_prepareGeometryChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsItem,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 20789 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TextEdit,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_propertyChange(sipSelfWasArg,*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_TextEdit,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_sceneEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_windowFrameEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_windowFrameSectionAt);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TextEdit,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_polishEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_grabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_ungrabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsItem_GraphicsItemChange,&a0,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_hoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_hoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_hoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_grabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_ungrabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_newProxyWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_newProxyWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QWidget * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QWidget,&a0))
        {
            QGraphicsProxyWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_newProxyWidget(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QGraphicsProxyWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_newProxyWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_setText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_setText);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TextEdit,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_setStyleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_setStyleSheet);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_styleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TextEdit,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_styleSheet);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_nativeWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TextEdit,&sipCpp))
        {
            KTextEdit *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KTextEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_nativeWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_dataUpdated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_dataUpdated(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const Plasma::DataEngine::Data * a1;
        int a1State = 0;
        Plasma::TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QString,&a0,&a0State,sipType_QHash_0200QString_0200QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dataUpdated(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<Plasma::DataEngine::Data *>(a1),sipType_QHash_0200QString_0200QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_dataUpdated);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextEdit_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextEdit_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_TextEdit *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextEdit,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextEdit,sipName_resizeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_TextEdit(void *, const sipTypeDef *);}
static void *cast_Plasma_TextEdit(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_TextEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsProxyWidget)->ctd_cast((QGraphicsProxyWidget *)(Plasma::TextEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_TextEdit(void *, int);}
static void release_Plasma_TextEdit(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_TextEdit *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::TextEdit *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_TextEdit(sipSimpleWrapper *);}
static void dealloc_Plasma_TextEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_TextEdit *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_TextEdit(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_TextEdit(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_TextEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_TextEdit *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QGraphicsWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_TextEdit(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_TextEdit[] = {{164, 2, 1}};


static PyMethodDef methods_Plasma_TextEdit[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_TextEdit_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_TextEdit_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_TextEdit_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_TextEdit_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_TextEdit_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_TextEdit_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataUpdated), meth_Plasma_TextEdit_dataUpdated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_TextEdit_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_TextEdit_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_TextEdit_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_TextEdit_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_TextEdit_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_TextEdit_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_TextEdit_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_TextEdit_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_TextEdit_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_TextEdit_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_TextEdit_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_TextEdit_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_TextEdit_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_TextEdit_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_TextEdit_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_TextEdit_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_TextEdit_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_TextEdit_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_TextEdit_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_TextEdit_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_TextEdit_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_TextEdit_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_TextEdit_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_TextEdit_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_TextEdit_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_TextEdit_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_TextEdit_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_TextEdit_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newProxyWidget), meth_Plasma_TextEdit_newProxyWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_TextEdit_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_TextEdit_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_TextEdit_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_TextEdit_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_TextEdit_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_TextEdit_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_TextEdit_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_TextEdit_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_TextEdit_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_TextEdit_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_TextEdit_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_TextEdit_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_TextEdit_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_TextEdit_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_TextEdit_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_TextEdit_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_TextEdit_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_TextEdit_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_TextEdit_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_TextEdit_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_TextEdit_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_TextEdit_windowFrameSectionAt, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_TextEdit[] = {
    {"textChanged()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_TextEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__TextEdit,
        {0}
    },
    sipNameNr_TextEdit,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_TextEdit,
    0,
    58, methods_Plasma_TextEdit,
    0, 0,
    0, 0,
    init_Plasma_TextEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_TextEdit,
    release_Plasma_TextEdit,
    cast_Plasma_TextEdit,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::TextEdit::staticMetaObject,
    0,
    pyqt4_signals_Plasma_TextEdit
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/textbrowser.sip"
#include <plasma/widgets/textbrowser.h>
#line 22444 "sipplasmapart0.cpp"

#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 22448 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22451 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22454 "sipplasmapart0.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 22457 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22460 "sipplasmapart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktextbrowser.sip"
#include <ktextbrowser.h>
#line 22463 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22466 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22469 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22472 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22475 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 22478 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22481 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22484 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22487 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22490 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22493 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22496 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22499 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22502 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22505 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 22508 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22511 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22514 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 22517 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 22520 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 22581 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 22584 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 22587 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22590 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 22593 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22598 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22601 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 22604 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 22607 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 22610 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 22613 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 22616 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 22621 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 22624 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 22627 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 22630 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 22633 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 22638 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 22643 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 22648 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 22653 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 22656 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 22659 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 22662 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 22665 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 22668 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 22671 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22674 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 22677 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 22708 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 22711 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 22714 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22717 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 22720 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22723 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 22728 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22731 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22734 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 22737 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22740 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 22743 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22746 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22749 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 22752 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22755 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22758 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 22761 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 22764 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22769 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 22772 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22775 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22778 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22781 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22784 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 22787 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 22790 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22793 "sipplasmapart0.cpp"


class sipPlasma_TextBrowser : public Plasma::TextBrowser
{
public:
    sipPlasma_TextBrowser(QGraphicsWidget *);
    virtual ~sipPlasma_TextBrowser();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_event(bool,QEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    QGraphicsProxyWidget * sipProtect_newProxyWidget(const QWidget *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setGeometry(const QRectF&);
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    int type() const;
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    void updateGeometry();
    QVariant propertyChange(const QString&,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool sceneEventFilter(QGraphicsItem *,QEvent *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_TextBrowser(const sipPlasma_TextBrowser &);
    sipPlasma_TextBrowser &operator = (const sipPlasma_TextBrowser &);

    char sipPyMethods[60];
};

sipPlasma_TextBrowser::sipPlasma_TextBrowser(QGraphicsWidget *a0): Plasma::TextBrowser(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_TextBrowser::~sipPlasma_TextBrowser()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_TextBrowser::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_TextBrowser);
}

int sipPlasma_TextBrowser::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::TextBrowser::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_TextBrowser,_c,_id,_a);

    return _id;
}

void *sipPlasma_TextBrowser::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_TextBrowser,_clname)) ? this : Plasma::TextBrowser::qt_metacast(_clname);
}

void sipPlasma_TextBrowser::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsProxyWidget::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

int sipPlasma_TextBrowser::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_type);

    if (!meth)
        return QGraphicsProxyWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

QVariant sipPlasma_TextBrowser::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsProxyWidget::itemChange(a0,a1);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TextBrowser::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsProxyWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TextBrowser::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QGraphicsProxyWidget::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TextBrowser::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

bool sipPlasma_TextBrowser::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsProxyWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

QSizeF sipPlasma_TextBrowser::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QGraphicsProxyWidget::sizeHint(a0,a1);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TextBrowser::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::TextBrowser::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!meth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,meth,a0,a1,a2,a3);
}

void sipPlasma_TextBrowser::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_TextBrowser::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_boundingRect);

    if (!meth)
        return QGraphicsWidget::boundingRect();

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

QPainterPath sipPlasma_TextBrowser::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_shape);

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TextBrowser::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_initStyleOption);

    if (!meth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_updateGeometry);

    if (!meth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_TextBrowser::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TextBrowser::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sceneEvent);

    if (!meth)
        return QGraphicsWidget::sceneEvent(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TextBrowser::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!meth)
        return QGraphicsWidget::windowFrameEvent(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_TextBrowser::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!meth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    return ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_polishEvent);

    if (!meth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_TextBrowser::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TextBrowser::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_advance);

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_TextBrowser::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_contains);

    if (!meth)
        return QGraphicsItem::contains(a0);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState,meth,a0);
}

bool sipPlasma_TextBrowser::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!meth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TextBrowser::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!meth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TextBrowser::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!meth)
        return QGraphicsItem::isObscuredBy(a0);

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_TextBrowser::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TextBrowser::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_TextBrowser::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QGraphicsItem::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TextBrowser::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TextBrowser::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_TextBrowser::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_TextBrowser::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_TextBrowser::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_TextBrowser::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipPlasma_TextBrowser::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

int sipPlasma_TextBrowser::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_TextBrowser::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_TextBrowser::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_TextBrowser::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_TextBrowser::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_TextBrowser::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_TextBrowser::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

QVariant sipPlasma_TextBrowser::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

bool sipPlasma_TextBrowser::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::event(a0) : event(a0));
}

bool sipPlasma_TextBrowser::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipPlasma_TextBrowser::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipPlasma_TextBrowser::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

QSizeF sipPlasma_TextBrowser::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_TextBrowser::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_TextBrowser::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dropEvent(a0) : dropEvent(a0));
}

QGraphicsProxyWidget * sipPlasma_TextBrowser::sipProtect_newProxyWidget(const QWidget *a0)
{
    return QGraphicsProxyWidget::newProxyWidget(a0);
}

void sipPlasma_TextBrowser::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::TextBrowser::resizeEvent(a0) : resizeEvent(a0));
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_setGraphicsItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_setOwnedByLayout);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_prepareGeometryChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsItem,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 24445 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_propertyChange(sipSelfWasArg,*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_TextBrowser,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_sceneEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_windowFrameEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_windowFrameSectionAt);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_polishEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_grabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_ungrabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsItem_GraphicsItemChange,&a0,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_hoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_hoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_hoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_grabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_ungrabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_newProxyWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_newProxyWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QWidget * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QWidget,&a0))
        {
            QGraphicsProxyWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_newProxyWidget(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QGraphicsProxyWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_newProxyWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_setText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_setText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_setText);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_text(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_setHorizontalScrollBarPolicy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_setHorizontalScrollBarPolicy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::ScrollBarPolicy a0;
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_Qt_ScrollBarPolicy,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHorizontalScrollBarPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_setHorizontalScrollBarPolicy);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_setVerticalScrollBarPolicy(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_setVerticalScrollBarPolicy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::ScrollBarPolicy a0;
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_Qt_ScrollBarPolicy,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVerticalScrollBarPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_setVerticalScrollBarPolicy);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_setStyleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_setStyleSheet);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_styleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_styleSheet);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_nativeWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp))
        {
            KTextBrowser *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KTextBrowser,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_nativeWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_dataUpdated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_dataUpdated(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const Plasma::DataEngine::Data * a1;
        int a1State = 0;
        Plasma::TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QString,&a0,&a0State,sipType_QHash_0200QString_0200QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dataUpdated(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<Plasma::DataEngine::Data *>(a1),sipType_QHash_0200QString_0200QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_dataUpdated);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TextBrowser_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TextBrowser_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_TextBrowser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TextBrowser,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TextBrowser,sipName_resizeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_TextBrowser(void *, const sipTypeDef *);}
static void *cast_Plasma_TextBrowser(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_TextBrowser)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsProxyWidget)->ctd_cast((QGraphicsProxyWidget *)(Plasma::TextBrowser *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_TextBrowser(void *, int);}
static void release_Plasma_TextBrowser(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_TextBrowser *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::TextBrowser *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_TextBrowser(sipSimpleWrapper *);}
static void dealloc_Plasma_TextBrowser(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_TextBrowser *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_TextBrowser(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_TextBrowser(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_TextBrowser(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_TextBrowser *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QGraphicsWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_TextBrowser(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_TextBrowser[] = {{164, 2, 1}};


static PyMethodDef methods_Plasma_TextBrowser[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_TextBrowser_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_TextBrowser_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_TextBrowser_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_TextBrowser_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_TextBrowser_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_TextBrowser_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataUpdated), meth_Plasma_TextBrowser_dataUpdated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_TextBrowser_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_TextBrowser_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_TextBrowser_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_TextBrowser_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_TextBrowser_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_TextBrowser_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_TextBrowser_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_TextBrowser_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_TextBrowser_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_TextBrowser_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_TextBrowser_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_TextBrowser_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_TextBrowser_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_TextBrowser_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_TextBrowser_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_TextBrowser_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_TextBrowser_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_TextBrowser_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_TextBrowser_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_TextBrowser_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_TextBrowser_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_TextBrowser_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_TextBrowser_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_TextBrowser_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_TextBrowser_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_TextBrowser_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_TextBrowser_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_TextBrowser_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newProxyWidget), meth_Plasma_TextBrowser_newProxyWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_TextBrowser_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_TextBrowser_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_TextBrowser_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_TextBrowser_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_TextBrowser_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_TextBrowser_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_TextBrowser_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_TextBrowser_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalScrollBarPolicy), meth_Plasma_TextBrowser_setHorizontalScrollBarPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_TextBrowser_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_TextBrowser_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_Plasma_TextBrowser_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVerticalScrollBarPolicy), meth_Plasma_TextBrowser_setVerticalScrollBarPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_TextBrowser_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_TextBrowser_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_TextBrowser_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_Plasma_TextBrowser_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_TextBrowser_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_TextBrowser_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_TextBrowser_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_TextBrowser_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_TextBrowser_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_TextBrowser_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_TextBrowser_windowFrameSectionAt, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_TextBrowser[] = {
    {"textChanged()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_TextBrowser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__TextBrowser,
        {0}
    },
    sipNameNr_TextBrowser,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_TextBrowser,
    0,
    60, methods_Plasma_TextBrowser,
    0, 0,
    0, 0,
    init_Plasma_TextBrowser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_TextBrowser,
    release_Plasma_TextBrowser,
    cast_Plasma_TextBrowser,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::TextBrowser::staticMetaObject,
    0,
    pyqt4_signals_Plasma_TextBrowser
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/tabbar.sip"
#include <plasma/widgets/tabbar.h>
#line 26156 "sipplasmapart0.cpp"

#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 26160 "sipplasmapart0.cpp"
#line 264 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26163 "sipplasmapart0.cpp"
#line 140 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26166 "sipplasmapart0.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktabbar.sip"
#include <ktabbar.h>
#line 26169 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26172 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 26175 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 26178 "sipplasmapart0.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 26239 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26242 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 26245 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 26248 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26251 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 26254 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26259 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26262 "sipplasmapart0.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26265 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 26268 "sipplasmapart0.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 26271 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 26274 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 26277 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 26280 "sipplasmapart0.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 26283 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 26288 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 26291 "sipplasmapart0.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 26294 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 26297 "sipplasmapart0.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 26300 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 26305 "sipplasmapart0.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 26310 "sipplasmapart0.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 26315 "sipplasmapart0.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 26320 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 26323 "sipplasmapart0.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 26326 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 26329 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 26332 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 26335 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26338 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26341 "sipplasmapart0.cpp"
#line 191 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26344 "sipplasmapart0.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26347 "sipplasmapart0.cpp"
#line 281 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26350 "sipplasmapart0.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26353 "sipplasmapart0.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26356 "sipplasmapart0.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26359 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26362 "sipplasmapart0.cpp"
#line 105 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 26365 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26368 "sipplasmapart0.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 26399 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 26402 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 26405 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 26408 "sipplasmapart0.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26411 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26414 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 26417 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 62 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 26422 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 26425 "sipplasmapart0.cpp"
#line 1602 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26428 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26431 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 26434 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 26437 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26440 "sipplasmapart0.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 26443 "sipplasmapart0.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26446 "sipplasmapart0.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26449 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 26452 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26455 "sipplasmapart0.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26458 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 26461 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 26464 "sipplasmapart0.cpp"
#line 113 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26467 "sipplasmapart0.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26470 "sipplasmapart0.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 26475 "sipplasmapart0.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26478 "sipplasmapart0.cpp"
#line 164 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 26481 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 26484 "sipplasmapart0.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26487 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26490 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26493 "sipplasmapart0.cpp"
#line 864 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 26496 "sipplasmapart0.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 26499 "sipplasmapart0.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26502 "sipplasmapart0.cpp"


class sipPlasma_TabBar : public Plasma::TabBar
{
public:
    sipPlasma_TabBar(QGraphicsWidget *);
    virtual ~sipPlasma_TabBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant sipProtectVirt_propertyChange(bool,const QString&,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant propertyChange(const QString&,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool event(QEvent *);
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void focusInEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent *);
    void hideEvent(QHideEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void showEvent(QShowEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    bool sceneEventFilter(QGraphicsItem *,QEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_TabBar(const sipPlasma_TabBar &);
    sipPlasma_TabBar &operator = (const sipPlasma_TabBar &);

    char sipPyMethods[60];
};

sipPlasma_TabBar::sipPlasma_TabBar(QGraphicsWidget *a0): Plasma::TabBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_TabBar::~sipPlasma_TabBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_TabBar::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_TabBar);
}

int sipPlasma_TabBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::TabBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_TabBar,_c,_id,_a);

    return _id;
}

void *sipPlasma_TabBar::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_TabBar,_clname)) ? this : Plasma::TabBar::qt_metacast(_clname);
}

void sipPlasma_TabBar::setGeometry(const QRectF& a0)
{
    typedef void (*sipVH_QtGui_136)(sip_gilstate_t,PyObject *,const QRectF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    ((sipVH_QtGui_136)(sipModuleAPI_plasma_QtGui->em_virthandlers[136]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!meth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,meth,a0,a1,a2,a3);
}

int sipPlasma_TabBar::type() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_type);

    if (!meth)
        return QGraphicsWidget::type();

    return ((sipVH_QtCore_8)(sipModuleAPI_plasma_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipPlasma_TabBar::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

void sipPlasma_TabBar::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    typedef void (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_TabBar::boundingRect() const
{
    typedef QRectF (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_boundingRect);

    if (!meth)
        return QGraphicsWidget::boundingRect();

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

QPainterPath sipPlasma_TabBar::shape() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_shape);

    if (!meth)
        return QGraphicsWidget::shape();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TabBar::initStyleOption(QStyleOption *a0) const
{
    typedef void (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,QStyleOption *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_initStyleOption);

    if (!meth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0);
}

QSizeF sipPlasma_TabBar::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    typedef QSizeF (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QGraphicsWidget::sizeHint(a0,a1);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TabBar::updateGeometry()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_updateGeometry);

    if (!meth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QVariant sipPlasma_TabBar::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsWidget::itemChange(a0,a1);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,meth,a0,a1);
}

QVariant sipPlasma_TabBar::propertyChange(const QString& a0,const QVariant& a1)
{
    typedef QVariant (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,const QString&,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_propertyChange);

    if (!meth)
        return QGraphicsWidget::propertyChange(a0,a1);

    return ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TabBar::sceneEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sceneEvent);

    if (!meth)
        return QGraphicsWidget::sceneEvent(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::windowFrameEvent(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!meth)
        return QGraphicsWidget::windowFrameEvent(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_TabBar::windowFrameSectionAt(const QPointF& a0) const
{
    typedef Qt::WindowFrameSection (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!meth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    return ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::polishEvent()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_polishEvent);

    if (!meth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipPlasma_TabBar::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_186)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        Plasma::TabBar::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_186)(sipModuleAPI_plasma_QtGui->em_virthandlers[186]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::grabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::ungrabMouseEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::grabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::ungrabKeyboardEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_plasma_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TabBar::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::advance(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_advance);

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::contains(const QPointF& a0) const
{
    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QPointF&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_contains);

    if (!meth)
        return QGraphicsItem::contains(a0);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!meth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TabBar::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!meth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_TabBar::isObscuredBy(const QGraphicsItem *a0) const
{
    typedef bool (*sipVH_QtGui_205)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!meth)
        return QGraphicsItem::isObscuredBy(a0);

    return ((sipVH_QtGui_205)(sipModuleAPI_plasma_QtGui->em_virthandlers[205]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_TabBar::opaqueArea() const
{
    typedef QPainterPath (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    return ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth);
}

void sipPlasma_TabBar::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    typedef void (*sipVH_QtGui_201)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    typedef void (*sipVH_QtGui_185)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipPlasma_TabBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QGraphicsItem::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsItem::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsItem::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

bool sipPlasma_TabBar::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0,a1);
}

void sipPlasma_TabBar::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_198)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        Plasma::TabBar::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState,meth,a0);
}

void sipPlasma_TabBar::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_TabBar::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_TabBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_TabBar::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_TabBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_TabBar::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipPlasma_TabBar::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

int sipPlasma_TabBar::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipPlasma_TabBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_TabBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_TabBar::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

QSizeF sipPlasma_TabBar::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_TabBar::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_TabBar::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

QVariant sipPlasma_TabBar::sipProtectVirt_propertyChange(bool sipSelfWasArg,const QString& a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::propertyChange(a0,a1) : propertyChange(a0,a1));
}

bool sipPlasma_TabBar::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_TabBar::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_TabBar::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_TabBar::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_TabBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusInEvent(a0) : focusInEvent(a0));
}

bool sipPlasma_TabBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_TabBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_TabBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? Plasma::TabBar::wheelEvent(a0) : wheelEvent(a0));
}

void sipPlasma_TabBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? Plasma::TabBar::resizeEvent(a0) : resizeEvent(a0));
}


extern "C" {static PyObject *meth_Plasma_TabBar_setGraphicsItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setGraphicsItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_setGraphicsItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_setOwnedByLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setOwnedByLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_setOwnedByLayout);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneDragDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_hoverEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_hoverEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_hoverEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_prepareGeometryChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_prepareGeometryChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_prepareGeometryChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_sceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_sceneEventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsItem,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_sceneEventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 28478 "sipplasmapart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QStyleOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE|J9",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_Qt_SizeHint,&a0,sipType_QSizeF,&a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_itemChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_itemChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ1",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsItem_GraphicsItemChange,&a0,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_itemChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_propertyChange(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_propertyChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_propertyChange(sipSelfWasArg,*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            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(sipArgsParsed,sipName_TabBar,sipName_propertyChange);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_sceneEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_sceneEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_sceneEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_windowFrameEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_windowFrameEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_windowFrameEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_windowFrameSectionAt(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_windowFrameSectionAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QPointF,&a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_windowFrameSectionAt);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_polishEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_polishEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_polishEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_hoverMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_hoverMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_hoverMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_hoverLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_hoverLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneHoverEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_hoverLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_grabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_grabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_grabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_ungrabMouseEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_ungrabMouseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_ungrabMouseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_grabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_grabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_grabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_ungrabKeyboardEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_ungrabKeyboardEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_ungrabKeyboardEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_insertTab(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_insertTab(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        const QIcon * a1;
        const QString * a2;
        int a2State = 0;
        QGraphicsLayoutItem * a3 = 0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ9J1|J8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0,sipType_QIcon,&a1,sipType_QString,&a2,&a2State,sipType_QGraphicsLayoutItem,&a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertTab(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        QGraphicsLayoutItem * a2 = 0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1|J8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0,sipType_QString,&a1,&a1State,sipType_QGraphicsLayoutItem,&a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertTab(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_insertTab);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_addTab(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_addTab(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QIcon * a0;
        const QString * a1;
        int a1State = 0;
        QGraphicsLayoutItem * a2 = 0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1|J8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QIcon,&a0,sipType_QString,&a1,&a1State,sipType_QGraphicsLayoutItem,&a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTab(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        QGraphicsLayoutItem * a1 = 0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QString,&a0,&a0State,sipType_QGraphicsLayoutItem,&a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTab(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_addTab);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_removeTab(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_removeTab(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeTab(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_removeTab);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_currentIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_currentIndex);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_count(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_count(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_count);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_setTabText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setTabText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabText(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(sipArgsParsed,sipName_TabBar,sipName_setTabText);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_tabText(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_tabText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->tabText(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_tabText);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_setTabIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setTabIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        const QIcon * a1;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ9",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0,sipType_QIcon,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabIcon(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_setTabIcon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_tabIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_tabIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->tabIcon(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_tabIcon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_setTabBarShown(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setTabBarShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabBarShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_setTabBarShown);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_isTabBarShown(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_isTabBarShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTabBarShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_isTabBarShown);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setStyleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyleSheet(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_setStyleSheet);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_styleSheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->styleSheet());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_styleSheet);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_nativeWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_nativeWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_TabBar,&sipCpp))
        {
            KTabBar *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nativeWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KTabBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_nativeWidget);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_setCurrentIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_TabBar,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentIndex(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_setCurrentIndex);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_TabBar_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_TabBar_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_TabBar *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Plasma_TabBar,&sipCpp,sipType_QGraphicsSceneResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_TabBar,sipName_resizeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_TabBar(void *, const sipTypeDef *);}
static void *cast_Plasma_TabBar(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_TabBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::TabBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_TabBar(void *, int);}
static void release_Plasma_TabBar(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_TabBar *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::TabBar *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_TabBar(sipSimpleWrapper *);}
static void dealloc_Plasma_TabBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_TabBar *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_TabBar(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Plasma_TabBar(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Plasma_TabBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_TabBar *sipCpp = 0;

    if (!sipCpp)
    {
        QGraphicsWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QGraphicsWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_TabBar(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_TabBar[] = {{190, 2, 1}};


static PyMethodDef methods_Plasma_TabBar[] = {
    {SIP_MLNAME_CAST(sipName_addTab), meth_Plasma_TabBar_addTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_TabBar_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_TabBar_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_TabBar_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_TabBar_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_TabBar_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_Plasma_TabBar_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_Plasma_TabBar_currentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_TabBar_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_TabBar_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_TabBar_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_TabBar_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_TabBar_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_TabBar_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_TabBar_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_TabBar_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_TabBar_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_TabBar_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_TabBar_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_TabBar_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_TabBar_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_TabBar_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_TabBar_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_TabBar_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_TabBar_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_TabBar_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_TabBar_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertTab), meth_Plasma_TabBar_insertTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabBarShown), meth_Plasma_TabBar_isTabBarShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_TabBar_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_TabBar_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_TabBar_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_TabBar_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_TabBar_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_TabBar_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_TabBar_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_TabBar_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeWidget), meth_Plasma_TabBar_nativeWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_TabBar_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_TabBar_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyChange), meth_Plasma_TabBar_propertyChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_TabBar_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTab), meth_Plasma_TabBar_removeTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_TabBar_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_TabBar_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_TabBar_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_Plasma_TabBar_setCurrentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_TabBar_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_TabBar_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_Plasma_TabBar_setStyleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabBarShown), meth_Plasma_TabBar_setTabBarShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIcon), meth_Plasma_TabBar_setTabIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabText), meth_Plasma_TabBar_setTabText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_TabBar_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_TabBar_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_Plasma_TabBar_styleSheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIcon), meth_Plasma_TabBar_tabIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabText), meth_Plasma_TabBar_tabText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_TabBar_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_TabBar_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_TabBar_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_TabBar_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_TabBar_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_TabBar_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_TabBar_windowFrameSectionAt, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_TabBar[] = {
    {"currentChanged(int)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_TabBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__TabBar,
        {0}
    },
    sipNameNr_TabBar,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_TabBar,
    0,
    65, methods_Plasma_TabBar,
    0, 0,
    0, 0,
    init_Plasma_TabBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_TabBar,
    release_Plasma_TabBar,
    cast_Plasma_TabBar,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::TabBar::staticMetaObject,
    0,
    pyqt4_signals_Plasma_TabBar
};
